glx.h 247 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657
  1. /*
  2. * This file generated automatically from glx.xml by c_client.py.
  3. * Edit at your peril.
  4. */
  5. /**
  6. * @defgroup XCB_Glx_API XCB Glx API
  7. * @brief Glx XCB Protocol Implementation.
  8. * @{
  9. **/
  10. #ifndef __GLX_H
  11. #define __GLX_H
  12. #include "xcb.h"
  13. #include "xproto.h"
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #define XCB_GLX_MAJOR_VERSION 1
  18. #define XCB_GLX_MINOR_VERSION 4
  19. extern xcb_extension_t xcb_glx_id;
  20. typedef uint32_t xcb_glx_pixmap_t;
  21. /**
  22. * @brief xcb_glx_pixmap_iterator_t
  23. **/
  24. typedef struct xcb_glx_pixmap_iterator_t {
  25. xcb_glx_pixmap_t *data;
  26. int rem;
  27. int index;
  28. } xcb_glx_pixmap_iterator_t;
  29. typedef uint32_t xcb_glx_context_t;
  30. /**
  31. * @brief xcb_glx_context_iterator_t
  32. **/
  33. typedef struct xcb_glx_context_iterator_t {
  34. xcb_glx_context_t *data;
  35. int rem;
  36. int index;
  37. } xcb_glx_context_iterator_t;
  38. typedef uint32_t xcb_glx_pbuffer_t;
  39. /**
  40. * @brief xcb_glx_pbuffer_iterator_t
  41. **/
  42. typedef struct xcb_glx_pbuffer_iterator_t {
  43. xcb_glx_pbuffer_t *data;
  44. int rem;
  45. int index;
  46. } xcb_glx_pbuffer_iterator_t;
  47. typedef uint32_t xcb_glx_window_t;
  48. /**
  49. * @brief xcb_glx_window_iterator_t
  50. **/
  51. typedef struct xcb_glx_window_iterator_t {
  52. xcb_glx_window_t *data;
  53. int rem;
  54. int index;
  55. } xcb_glx_window_iterator_t;
  56. typedef uint32_t xcb_glx_fbconfig_t;
  57. /**
  58. * @brief xcb_glx_fbconfig_iterator_t
  59. **/
  60. typedef struct xcb_glx_fbconfig_iterator_t {
  61. xcb_glx_fbconfig_t *data;
  62. int rem;
  63. int index;
  64. } xcb_glx_fbconfig_iterator_t;
  65. typedef uint32_t xcb_glx_drawable_t;
  66. /**
  67. * @brief xcb_glx_drawable_iterator_t
  68. **/
  69. typedef struct xcb_glx_drawable_iterator_t {
  70. xcb_glx_drawable_t *data;
  71. int rem;
  72. int index;
  73. } xcb_glx_drawable_iterator_t;
  74. typedef float xcb_glx_float32_t;
  75. /**
  76. * @brief xcb_glx_float32_iterator_t
  77. **/
  78. typedef struct xcb_glx_float32_iterator_t {
  79. xcb_glx_float32_t *data;
  80. int rem;
  81. int index;
  82. } xcb_glx_float32_iterator_t;
  83. typedef double xcb_glx_float64_t;
  84. /**
  85. * @brief xcb_glx_float64_iterator_t
  86. **/
  87. typedef struct xcb_glx_float64_iterator_t {
  88. xcb_glx_float64_t *data;
  89. int rem;
  90. int index;
  91. } xcb_glx_float64_iterator_t;
  92. typedef uint32_t xcb_glx_bool32_t;
  93. /**
  94. * @brief xcb_glx_bool32_iterator_t
  95. **/
  96. typedef struct xcb_glx_bool32_iterator_t {
  97. xcb_glx_bool32_t *data;
  98. int rem;
  99. int index;
  100. } xcb_glx_bool32_iterator_t;
  101. typedef uint32_t xcb_glx_context_tag_t;
  102. /**
  103. * @brief xcb_glx_context_tag_iterator_t
  104. **/
  105. typedef struct xcb_glx_context_tag_iterator_t {
  106. xcb_glx_context_tag_t *data;
  107. int rem;
  108. int index;
  109. } xcb_glx_context_tag_iterator_t;
  110. /** Opcode for xcb_glx_generic. */
  111. #define XCB_GLX_GENERIC -1
  112. /**
  113. * @brief xcb_glx_generic_error_t
  114. **/
  115. typedef struct xcb_glx_generic_error_t {
  116. uint8_t response_type;
  117. uint8_t error_code;
  118. uint16_t sequence;
  119. uint32_t bad_value;
  120. uint16_t minor_opcode;
  121. uint8_t major_opcode;
  122. uint8_t pad0[21];
  123. } xcb_glx_generic_error_t;
  124. /** Opcode for xcb_glx_bad_context. */
  125. #define XCB_GLX_BAD_CONTEXT 0
  126. typedef xcb_glx_generic_error_t xcb_glx_bad_context_error_t;
  127. /** Opcode for xcb_glx_bad_context_state. */
  128. #define XCB_GLX_BAD_CONTEXT_STATE 1
  129. typedef xcb_glx_generic_error_t xcb_glx_bad_context_state_error_t;
  130. /** Opcode for xcb_glx_bad_drawable. */
  131. #define XCB_GLX_BAD_DRAWABLE 2
  132. typedef xcb_glx_generic_error_t xcb_glx_bad_drawable_error_t;
  133. /** Opcode for xcb_glx_bad_pixmap. */
  134. #define XCB_GLX_BAD_PIXMAP 3
  135. typedef xcb_glx_generic_error_t xcb_glx_bad_pixmap_error_t;
  136. /** Opcode for xcb_glx_bad_context_tag. */
  137. #define XCB_GLX_BAD_CONTEXT_TAG 4
  138. typedef xcb_glx_generic_error_t xcb_glx_bad_context_tag_error_t;
  139. /** Opcode for xcb_glx_bad_current_window. */
  140. #define XCB_GLX_BAD_CURRENT_WINDOW 5
  141. typedef xcb_glx_generic_error_t xcb_glx_bad_current_window_error_t;
  142. /** Opcode for xcb_glx_bad_render_request. */
  143. #define XCB_GLX_BAD_RENDER_REQUEST 6
  144. typedef xcb_glx_generic_error_t xcb_glx_bad_render_request_error_t;
  145. /** Opcode for xcb_glx_bad_large_request. */
  146. #define XCB_GLX_BAD_LARGE_REQUEST 7
  147. typedef xcb_glx_generic_error_t xcb_glx_bad_large_request_error_t;
  148. /** Opcode for xcb_glx_unsupported_private_request. */
  149. #define XCB_GLX_UNSUPPORTED_PRIVATE_REQUEST 8
  150. typedef xcb_glx_generic_error_t xcb_glx_unsupported_private_request_error_t;
  151. /** Opcode for xcb_glx_bad_fb_config. */
  152. #define XCB_GLX_BAD_FB_CONFIG 9
  153. typedef xcb_glx_generic_error_t xcb_glx_bad_fb_config_error_t;
  154. /** Opcode for xcb_glx_bad_pbuffer. */
  155. #define XCB_GLX_BAD_PBUFFER 10
  156. typedef xcb_glx_generic_error_t xcb_glx_bad_pbuffer_error_t;
  157. /** Opcode for xcb_glx_bad_current_drawable. */
  158. #define XCB_GLX_BAD_CURRENT_DRAWABLE 11
  159. typedef xcb_glx_generic_error_t xcb_glx_bad_current_drawable_error_t;
  160. /** Opcode for xcb_glx_bad_window. */
  161. #define XCB_GLX_BAD_WINDOW 12
  162. typedef xcb_glx_generic_error_t xcb_glx_bad_window_error_t;
  163. /** Opcode for xcb_glx_glx_bad_profile_arb. */
  164. #define XCB_GLX_GLX_BAD_PROFILE_ARB 13
  165. typedef xcb_glx_generic_error_t xcb_glx_glx_bad_profile_arb_error_t;
  166. /** Opcode for xcb_glx_pbuffer_clobber. */
  167. #define XCB_GLX_PBUFFER_CLOBBER 0
  168. /**
  169. * @brief xcb_glx_pbuffer_clobber_event_t
  170. **/
  171. typedef struct xcb_glx_pbuffer_clobber_event_t {
  172. uint8_t response_type;
  173. uint8_t pad0;
  174. uint16_t sequence;
  175. uint16_t event_type;
  176. uint16_t draw_type;
  177. xcb_glx_drawable_t drawable;
  178. uint32_t b_mask;
  179. uint16_t aux_buffer;
  180. uint16_t x;
  181. uint16_t y;
  182. uint16_t width;
  183. uint16_t height;
  184. uint16_t count;
  185. uint8_t pad1[4];
  186. } xcb_glx_pbuffer_clobber_event_t;
  187. /** Opcode for xcb_glx_buffer_swap_complete. */
  188. #define XCB_GLX_BUFFER_SWAP_COMPLETE 1
  189. /**
  190. * @brief xcb_glx_buffer_swap_complete_event_t
  191. **/
  192. typedef struct xcb_glx_buffer_swap_complete_event_t {
  193. uint8_t response_type;
  194. uint8_t pad0;
  195. uint16_t sequence;
  196. uint16_t event_type;
  197. uint8_t pad1[2];
  198. xcb_glx_drawable_t drawable;
  199. uint32_t ust_hi;
  200. uint32_t ust_lo;
  201. uint32_t msc_hi;
  202. uint32_t msc_lo;
  203. uint32_t sbc;
  204. } xcb_glx_buffer_swap_complete_event_t;
  205. typedef enum xcb_glx_pbcet_t {
  206. XCB_GLX_PBCET_DAMAGED = 32791,
  207. XCB_GLX_PBCET_SAVED = 32792
  208. } xcb_glx_pbcet_t;
  209. typedef enum xcb_glx_pbcdt_t {
  210. XCB_GLX_PBCDT_WINDOW = 32793,
  211. XCB_GLX_PBCDT_PBUFFER = 32794
  212. } xcb_glx_pbcdt_t;
  213. /** Opcode for xcb_glx_render. */
  214. #define XCB_GLX_RENDER 1
  215. /**
  216. * @brief xcb_glx_render_request_t
  217. **/
  218. typedef struct xcb_glx_render_request_t {
  219. uint8_t major_opcode;
  220. uint8_t minor_opcode;
  221. uint16_t length;
  222. xcb_glx_context_tag_t context_tag;
  223. } xcb_glx_render_request_t;
  224. /** Opcode for xcb_glx_render_large. */
  225. #define XCB_GLX_RENDER_LARGE 2
  226. /**
  227. * @brief xcb_glx_render_large_request_t
  228. **/
  229. typedef struct xcb_glx_render_large_request_t {
  230. uint8_t major_opcode;
  231. uint8_t minor_opcode;
  232. uint16_t length;
  233. xcb_glx_context_tag_t context_tag;
  234. uint16_t request_num;
  235. uint16_t request_total;
  236. uint32_t data_len;
  237. } xcb_glx_render_large_request_t;
  238. /** Opcode for xcb_glx_create_context. */
  239. #define XCB_GLX_CREATE_CONTEXT 3
  240. /**
  241. * @brief xcb_glx_create_context_request_t
  242. **/
  243. typedef struct xcb_glx_create_context_request_t {
  244. uint8_t major_opcode;
  245. uint8_t minor_opcode;
  246. uint16_t length;
  247. xcb_glx_context_t context;
  248. xcb_visualid_t visual;
  249. uint32_t screen;
  250. xcb_glx_context_t share_list;
  251. uint8_t is_direct;
  252. uint8_t pad0[3];
  253. } xcb_glx_create_context_request_t;
  254. /** Opcode for xcb_glx_destroy_context. */
  255. #define XCB_GLX_DESTROY_CONTEXT 4
  256. /**
  257. * @brief xcb_glx_destroy_context_request_t
  258. **/
  259. typedef struct xcb_glx_destroy_context_request_t {
  260. uint8_t major_opcode;
  261. uint8_t minor_opcode;
  262. uint16_t length;
  263. xcb_glx_context_t context;
  264. } xcb_glx_destroy_context_request_t;
  265. /**
  266. * @brief xcb_glx_make_current_cookie_t
  267. **/
  268. typedef struct xcb_glx_make_current_cookie_t {
  269. unsigned int sequence;
  270. } xcb_glx_make_current_cookie_t;
  271. /** Opcode for xcb_glx_make_current. */
  272. #define XCB_GLX_MAKE_CURRENT 5
  273. /**
  274. * @brief xcb_glx_make_current_request_t
  275. **/
  276. typedef struct xcb_glx_make_current_request_t {
  277. uint8_t major_opcode;
  278. uint8_t minor_opcode;
  279. uint16_t length;
  280. xcb_glx_drawable_t drawable;
  281. xcb_glx_context_t context;
  282. xcb_glx_context_tag_t old_context_tag;
  283. } xcb_glx_make_current_request_t;
  284. /**
  285. * @brief xcb_glx_make_current_reply_t
  286. **/
  287. typedef struct xcb_glx_make_current_reply_t {
  288. uint8_t response_type;
  289. uint8_t pad0;
  290. uint16_t sequence;
  291. uint32_t length;
  292. xcb_glx_context_tag_t context_tag;
  293. uint8_t pad1[20];
  294. } xcb_glx_make_current_reply_t;
  295. /**
  296. * @brief xcb_glx_is_direct_cookie_t
  297. **/
  298. typedef struct xcb_glx_is_direct_cookie_t {
  299. unsigned int sequence;
  300. } xcb_glx_is_direct_cookie_t;
  301. /** Opcode for xcb_glx_is_direct. */
  302. #define XCB_GLX_IS_DIRECT 6
  303. /**
  304. * @brief xcb_glx_is_direct_request_t
  305. **/
  306. typedef struct xcb_glx_is_direct_request_t {
  307. uint8_t major_opcode;
  308. uint8_t minor_opcode;
  309. uint16_t length;
  310. xcb_glx_context_t context;
  311. } xcb_glx_is_direct_request_t;
  312. /**
  313. * @brief xcb_glx_is_direct_reply_t
  314. **/
  315. typedef struct xcb_glx_is_direct_reply_t {
  316. uint8_t response_type;
  317. uint8_t pad0;
  318. uint16_t sequence;
  319. uint32_t length;
  320. uint8_t is_direct;
  321. uint8_t pad1[23];
  322. } xcb_glx_is_direct_reply_t;
  323. /**
  324. * @brief xcb_glx_query_version_cookie_t
  325. **/
  326. typedef struct xcb_glx_query_version_cookie_t {
  327. unsigned int sequence;
  328. } xcb_glx_query_version_cookie_t;
  329. /** Opcode for xcb_glx_query_version. */
  330. #define XCB_GLX_QUERY_VERSION 7
  331. /**
  332. * @brief xcb_glx_query_version_request_t
  333. **/
  334. typedef struct xcb_glx_query_version_request_t {
  335. uint8_t major_opcode;
  336. uint8_t minor_opcode;
  337. uint16_t length;
  338. uint32_t major_version;
  339. uint32_t minor_version;
  340. } xcb_glx_query_version_request_t;
  341. /**
  342. * @brief xcb_glx_query_version_reply_t
  343. **/
  344. typedef struct xcb_glx_query_version_reply_t {
  345. uint8_t response_type;
  346. uint8_t pad0;
  347. uint16_t sequence;
  348. uint32_t length;
  349. uint32_t major_version;
  350. uint32_t minor_version;
  351. uint8_t pad1[16];
  352. } xcb_glx_query_version_reply_t;
  353. /** Opcode for xcb_glx_wait_gl. */
  354. #define XCB_GLX_WAIT_GL 8
  355. /**
  356. * @brief xcb_glx_wait_gl_request_t
  357. **/
  358. typedef struct xcb_glx_wait_gl_request_t {
  359. uint8_t major_opcode;
  360. uint8_t minor_opcode;
  361. uint16_t length;
  362. xcb_glx_context_tag_t context_tag;
  363. } xcb_glx_wait_gl_request_t;
  364. /** Opcode for xcb_glx_wait_x. */
  365. #define XCB_GLX_WAIT_X 9
  366. /**
  367. * @brief xcb_glx_wait_x_request_t
  368. **/
  369. typedef struct xcb_glx_wait_x_request_t {
  370. uint8_t major_opcode;
  371. uint8_t minor_opcode;
  372. uint16_t length;
  373. xcb_glx_context_tag_t context_tag;
  374. } xcb_glx_wait_x_request_t;
  375. /** Opcode for xcb_glx_copy_context. */
  376. #define XCB_GLX_COPY_CONTEXT 10
  377. /**
  378. * @brief xcb_glx_copy_context_request_t
  379. **/
  380. typedef struct xcb_glx_copy_context_request_t {
  381. uint8_t major_opcode;
  382. uint8_t minor_opcode;
  383. uint16_t length;
  384. xcb_glx_context_t src;
  385. xcb_glx_context_t dest;
  386. uint32_t mask;
  387. xcb_glx_context_tag_t src_context_tag;
  388. } xcb_glx_copy_context_request_t;
  389. typedef enum xcb_glx_gc_t {
  390. XCB_GLX_GC_GL_CURRENT_BIT = 1,
  391. XCB_GLX_GC_GL_POINT_BIT = 2,
  392. XCB_GLX_GC_GL_LINE_BIT = 4,
  393. XCB_GLX_GC_GL_POLYGON_BIT = 8,
  394. XCB_GLX_GC_GL_POLYGON_STIPPLE_BIT = 16,
  395. XCB_GLX_GC_GL_PIXEL_MODE_BIT = 32,
  396. XCB_GLX_GC_GL_LIGHTING_BIT = 64,
  397. XCB_GLX_GC_GL_FOG_BIT = 128,
  398. XCB_GLX_GC_GL_DEPTH_BUFFER_BIT = 256,
  399. XCB_GLX_GC_GL_ACCUM_BUFFER_BIT = 512,
  400. XCB_GLX_GC_GL_STENCIL_BUFFER_BIT = 1024,
  401. XCB_GLX_GC_GL_VIEWPORT_BIT = 2048,
  402. XCB_GLX_GC_GL_TRANSFORM_BIT = 4096,
  403. XCB_GLX_GC_GL_ENABLE_BIT = 8192,
  404. XCB_GLX_GC_GL_COLOR_BUFFER_BIT = 16384,
  405. XCB_GLX_GC_GL_HINT_BIT = 32768,
  406. XCB_GLX_GC_GL_EVAL_BIT = 65536,
  407. XCB_GLX_GC_GL_LIST_BIT = 131072,
  408. XCB_GLX_GC_GL_TEXTURE_BIT = 262144,
  409. XCB_GLX_GC_GL_SCISSOR_BIT = 524288,
  410. XCB_GLX_GC_GL_ALL_ATTRIB_BITS = 16777215
  411. } xcb_glx_gc_t;
  412. /** Opcode for xcb_glx_swap_buffers. */
  413. #define XCB_GLX_SWAP_BUFFERS 11
  414. /**
  415. * @brief xcb_glx_swap_buffers_request_t
  416. **/
  417. typedef struct xcb_glx_swap_buffers_request_t {
  418. uint8_t major_opcode;
  419. uint8_t minor_opcode;
  420. uint16_t length;
  421. xcb_glx_context_tag_t context_tag;
  422. xcb_glx_drawable_t drawable;
  423. } xcb_glx_swap_buffers_request_t;
  424. /** Opcode for xcb_glx_use_x_font. */
  425. #define XCB_GLX_USE_X_FONT 12
  426. /**
  427. * @brief xcb_glx_use_x_font_request_t
  428. **/
  429. typedef struct xcb_glx_use_x_font_request_t {
  430. uint8_t major_opcode;
  431. uint8_t minor_opcode;
  432. uint16_t length;
  433. xcb_glx_context_tag_t context_tag;
  434. xcb_font_t font;
  435. uint32_t first;
  436. uint32_t count;
  437. uint32_t list_base;
  438. } xcb_glx_use_x_font_request_t;
  439. /** Opcode for xcb_glx_create_glx_pixmap. */
  440. #define XCB_GLX_CREATE_GLX_PIXMAP 13
  441. /**
  442. * @brief xcb_glx_create_glx_pixmap_request_t
  443. **/
  444. typedef struct xcb_glx_create_glx_pixmap_request_t {
  445. uint8_t major_opcode;
  446. uint8_t minor_opcode;
  447. uint16_t length;
  448. uint32_t screen;
  449. xcb_visualid_t visual;
  450. xcb_pixmap_t pixmap;
  451. xcb_glx_pixmap_t glx_pixmap;
  452. } xcb_glx_create_glx_pixmap_request_t;
  453. /**
  454. * @brief xcb_glx_get_visual_configs_cookie_t
  455. **/
  456. typedef struct xcb_glx_get_visual_configs_cookie_t {
  457. unsigned int sequence;
  458. } xcb_glx_get_visual_configs_cookie_t;
  459. /** Opcode for xcb_glx_get_visual_configs. */
  460. #define XCB_GLX_GET_VISUAL_CONFIGS 14
  461. /**
  462. * @brief xcb_glx_get_visual_configs_request_t
  463. **/
  464. typedef struct xcb_glx_get_visual_configs_request_t {
  465. uint8_t major_opcode;
  466. uint8_t minor_opcode;
  467. uint16_t length;
  468. uint32_t screen;
  469. } xcb_glx_get_visual_configs_request_t;
  470. /**
  471. * @brief xcb_glx_get_visual_configs_reply_t
  472. **/
  473. typedef struct xcb_glx_get_visual_configs_reply_t {
  474. uint8_t response_type;
  475. uint8_t pad0;
  476. uint16_t sequence;
  477. uint32_t length;
  478. uint32_t num_visuals;
  479. uint32_t num_properties;
  480. uint8_t pad1[16];
  481. } xcb_glx_get_visual_configs_reply_t;
  482. /** Opcode for xcb_glx_destroy_glx_pixmap. */
  483. #define XCB_GLX_DESTROY_GLX_PIXMAP 15
  484. /**
  485. * @brief xcb_glx_destroy_glx_pixmap_request_t
  486. **/
  487. typedef struct xcb_glx_destroy_glx_pixmap_request_t {
  488. uint8_t major_opcode;
  489. uint8_t minor_opcode;
  490. uint16_t length;
  491. xcb_glx_pixmap_t glx_pixmap;
  492. } xcb_glx_destroy_glx_pixmap_request_t;
  493. /** Opcode for xcb_glx_vendor_private. */
  494. #define XCB_GLX_VENDOR_PRIVATE 16
  495. /**
  496. * @brief xcb_glx_vendor_private_request_t
  497. **/
  498. typedef struct xcb_glx_vendor_private_request_t {
  499. uint8_t major_opcode;
  500. uint8_t minor_opcode;
  501. uint16_t length;
  502. uint32_t vendor_code;
  503. xcb_glx_context_tag_t context_tag;
  504. } xcb_glx_vendor_private_request_t;
  505. /**
  506. * @brief xcb_glx_vendor_private_with_reply_cookie_t
  507. **/
  508. typedef struct xcb_glx_vendor_private_with_reply_cookie_t {
  509. unsigned int sequence;
  510. } xcb_glx_vendor_private_with_reply_cookie_t;
  511. /** Opcode for xcb_glx_vendor_private_with_reply. */
  512. #define XCB_GLX_VENDOR_PRIVATE_WITH_REPLY 17
  513. /**
  514. * @brief xcb_glx_vendor_private_with_reply_request_t
  515. **/
  516. typedef struct xcb_glx_vendor_private_with_reply_request_t {
  517. uint8_t major_opcode;
  518. uint8_t minor_opcode;
  519. uint16_t length;
  520. uint32_t vendor_code;
  521. xcb_glx_context_tag_t context_tag;
  522. } xcb_glx_vendor_private_with_reply_request_t;
  523. /**
  524. * @brief xcb_glx_vendor_private_with_reply_reply_t
  525. **/
  526. typedef struct xcb_glx_vendor_private_with_reply_reply_t {
  527. uint8_t response_type;
  528. uint8_t pad0;
  529. uint16_t sequence;
  530. uint32_t length;
  531. uint32_t retval;
  532. uint8_t data1[24];
  533. } xcb_glx_vendor_private_with_reply_reply_t;
  534. /**
  535. * @brief xcb_glx_query_extensions_string_cookie_t
  536. **/
  537. typedef struct xcb_glx_query_extensions_string_cookie_t {
  538. unsigned int sequence;
  539. } xcb_glx_query_extensions_string_cookie_t;
  540. /** Opcode for xcb_glx_query_extensions_string. */
  541. #define XCB_GLX_QUERY_EXTENSIONS_STRING 18
  542. /**
  543. * @brief xcb_glx_query_extensions_string_request_t
  544. **/
  545. typedef struct xcb_glx_query_extensions_string_request_t {
  546. uint8_t major_opcode;
  547. uint8_t minor_opcode;
  548. uint16_t length;
  549. uint32_t screen;
  550. } xcb_glx_query_extensions_string_request_t;
  551. /**
  552. * @brief xcb_glx_query_extensions_string_reply_t
  553. **/
  554. typedef struct xcb_glx_query_extensions_string_reply_t {
  555. uint8_t response_type;
  556. uint8_t pad0;
  557. uint16_t sequence;
  558. uint32_t length;
  559. uint8_t pad1[4];
  560. uint32_t n;
  561. uint8_t pad2[16];
  562. } xcb_glx_query_extensions_string_reply_t;
  563. /**
  564. * @brief xcb_glx_query_server_string_cookie_t
  565. **/
  566. typedef struct xcb_glx_query_server_string_cookie_t {
  567. unsigned int sequence;
  568. } xcb_glx_query_server_string_cookie_t;
  569. /** Opcode for xcb_glx_query_server_string. */
  570. #define XCB_GLX_QUERY_SERVER_STRING 19
  571. /**
  572. * @brief xcb_glx_query_server_string_request_t
  573. **/
  574. typedef struct xcb_glx_query_server_string_request_t {
  575. uint8_t major_opcode;
  576. uint8_t minor_opcode;
  577. uint16_t length;
  578. uint32_t screen;
  579. uint32_t name;
  580. } xcb_glx_query_server_string_request_t;
  581. /**
  582. * @brief xcb_glx_query_server_string_reply_t
  583. **/
  584. typedef struct xcb_glx_query_server_string_reply_t {
  585. uint8_t response_type;
  586. uint8_t pad0;
  587. uint16_t sequence;
  588. uint32_t length;
  589. uint8_t pad1[4];
  590. uint32_t str_len;
  591. uint8_t pad2[16];
  592. } xcb_glx_query_server_string_reply_t;
  593. /** Opcode for xcb_glx_client_info. */
  594. #define XCB_GLX_CLIENT_INFO 20
  595. /**
  596. * @brief xcb_glx_client_info_request_t
  597. **/
  598. typedef struct xcb_glx_client_info_request_t {
  599. uint8_t major_opcode;
  600. uint8_t minor_opcode;
  601. uint16_t length;
  602. uint32_t major_version;
  603. uint32_t minor_version;
  604. uint32_t str_len;
  605. } xcb_glx_client_info_request_t;
  606. /**
  607. * @brief xcb_glx_get_fb_configs_cookie_t
  608. **/
  609. typedef struct xcb_glx_get_fb_configs_cookie_t {
  610. unsigned int sequence;
  611. } xcb_glx_get_fb_configs_cookie_t;
  612. /** Opcode for xcb_glx_get_fb_configs. */
  613. #define XCB_GLX_GET_FB_CONFIGS 21
  614. /**
  615. * @brief xcb_glx_get_fb_configs_request_t
  616. **/
  617. typedef struct xcb_glx_get_fb_configs_request_t {
  618. uint8_t major_opcode;
  619. uint8_t minor_opcode;
  620. uint16_t length;
  621. uint32_t screen;
  622. } xcb_glx_get_fb_configs_request_t;
  623. /**
  624. * @brief xcb_glx_get_fb_configs_reply_t
  625. **/
  626. typedef struct xcb_glx_get_fb_configs_reply_t {
  627. uint8_t response_type;
  628. uint8_t pad0;
  629. uint16_t sequence;
  630. uint32_t length;
  631. uint32_t num_FB_configs;
  632. uint32_t num_properties;
  633. uint8_t pad1[16];
  634. } xcb_glx_get_fb_configs_reply_t;
  635. /** Opcode for xcb_glx_create_pixmap. */
  636. #define XCB_GLX_CREATE_PIXMAP 22
  637. /**
  638. * @brief xcb_glx_create_pixmap_request_t
  639. **/
  640. typedef struct xcb_glx_create_pixmap_request_t {
  641. uint8_t major_opcode;
  642. uint8_t minor_opcode;
  643. uint16_t length;
  644. uint32_t screen;
  645. xcb_glx_fbconfig_t fbconfig;
  646. xcb_pixmap_t pixmap;
  647. xcb_glx_pixmap_t glx_pixmap;
  648. uint32_t num_attribs;
  649. } xcb_glx_create_pixmap_request_t;
  650. /** Opcode for xcb_glx_destroy_pixmap. */
  651. #define XCB_GLX_DESTROY_PIXMAP 23
  652. /**
  653. * @brief xcb_glx_destroy_pixmap_request_t
  654. **/
  655. typedef struct xcb_glx_destroy_pixmap_request_t {
  656. uint8_t major_opcode;
  657. uint8_t minor_opcode;
  658. uint16_t length;
  659. xcb_glx_pixmap_t glx_pixmap;
  660. } xcb_glx_destroy_pixmap_request_t;
  661. /** Opcode for xcb_glx_create_new_context. */
  662. #define XCB_GLX_CREATE_NEW_CONTEXT 24
  663. /**
  664. * @brief xcb_glx_create_new_context_request_t
  665. **/
  666. typedef struct xcb_glx_create_new_context_request_t {
  667. uint8_t major_opcode;
  668. uint8_t minor_opcode;
  669. uint16_t length;
  670. xcb_glx_context_t context;
  671. xcb_glx_fbconfig_t fbconfig;
  672. uint32_t screen;
  673. uint32_t render_type;
  674. xcb_glx_context_t share_list;
  675. uint8_t is_direct;
  676. uint8_t pad0[3];
  677. } xcb_glx_create_new_context_request_t;
  678. /**
  679. * @brief xcb_glx_query_context_cookie_t
  680. **/
  681. typedef struct xcb_glx_query_context_cookie_t {
  682. unsigned int sequence;
  683. } xcb_glx_query_context_cookie_t;
  684. /** Opcode for xcb_glx_query_context. */
  685. #define XCB_GLX_QUERY_CONTEXT 25
  686. /**
  687. * @brief xcb_glx_query_context_request_t
  688. **/
  689. typedef struct xcb_glx_query_context_request_t {
  690. uint8_t major_opcode;
  691. uint8_t minor_opcode;
  692. uint16_t length;
  693. xcb_glx_context_t context;
  694. } xcb_glx_query_context_request_t;
  695. /**
  696. * @brief xcb_glx_query_context_reply_t
  697. **/
  698. typedef struct xcb_glx_query_context_reply_t {
  699. uint8_t response_type;
  700. uint8_t pad0;
  701. uint16_t sequence;
  702. uint32_t length;
  703. uint32_t num_attribs;
  704. uint8_t pad1[20];
  705. } xcb_glx_query_context_reply_t;
  706. /**
  707. * @brief xcb_glx_make_context_current_cookie_t
  708. **/
  709. typedef struct xcb_glx_make_context_current_cookie_t {
  710. unsigned int sequence;
  711. } xcb_glx_make_context_current_cookie_t;
  712. /** Opcode for xcb_glx_make_context_current. */
  713. #define XCB_GLX_MAKE_CONTEXT_CURRENT 26
  714. /**
  715. * @brief xcb_glx_make_context_current_request_t
  716. **/
  717. typedef struct xcb_glx_make_context_current_request_t {
  718. uint8_t major_opcode;
  719. uint8_t minor_opcode;
  720. uint16_t length;
  721. xcb_glx_context_tag_t old_context_tag;
  722. xcb_glx_drawable_t drawable;
  723. xcb_glx_drawable_t read_drawable;
  724. xcb_glx_context_t context;
  725. } xcb_glx_make_context_current_request_t;
  726. /**
  727. * @brief xcb_glx_make_context_current_reply_t
  728. **/
  729. typedef struct xcb_glx_make_context_current_reply_t {
  730. uint8_t response_type;
  731. uint8_t pad0;
  732. uint16_t sequence;
  733. uint32_t length;
  734. xcb_glx_context_tag_t context_tag;
  735. uint8_t pad1[20];
  736. } xcb_glx_make_context_current_reply_t;
  737. /** Opcode for xcb_glx_create_pbuffer. */
  738. #define XCB_GLX_CREATE_PBUFFER 27
  739. /**
  740. * @brief xcb_glx_create_pbuffer_request_t
  741. **/
  742. typedef struct xcb_glx_create_pbuffer_request_t {
  743. uint8_t major_opcode;
  744. uint8_t minor_opcode;
  745. uint16_t length;
  746. uint32_t screen;
  747. xcb_glx_fbconfig_t fbconfig;
  748. xcb_glx_pbuffer_t pbuffer;
  749. uint32_t num_attribs;
  750. } xcb_glx_create_pbuffer_request_t;
  751. /** Opcode for xcb_glx_destroy_pbuffer. */
  752. #define XCB_GLX_DESTROY_PBUFFER 28
  753. /**
  754. * @brief xcb_glx_destroy_pbuffer_request_t
  755. **/
  756. typedef struct xcb_glx_destroy_pbuffer_request_t {
  757. uint8_t major_opcode;
  758. uint8_t minor_opcode;
  759. uint16_t length;
  760. xcb_glx_pbuffer_t pbuffer;
  761. } xcb_glx_destroy_pbuffer_request_t;
  762. /**
  763. * @brief xcb_glx_get_drawable_attributes_cookie_t
  764. **/
  765. typedef struct xcb_glx_get_drawable_attributes_cookie_t {
  766. unsigned int sequence;
  767. } xcb_glx_get_drawable_attributes_cookie_t;
  768. /** Opcode for xcb_glx_get_drawable_attributes. */
  769. #define XCB_GLX_GET_DRAWABLE_ATTRIBUTES 29
  770. /**
  771. * @brief xcb_glx_get_drawable_attributes_request_t
  772. **/
  773. typedef struct xcb_glx_get_drawable_attributes_request_t {
  774. uint8_t major_opcode;
  775. uint8_t minor_opcode;
  776. uint16_t length;
  777. xcb_glx_drawable_t drawable;
  778. } xcb_glx_get_drawable_attributes_request_t;
  779. /**
  780. * @brief xcb_glx_get_drawable_attributes_reply_t
  781. **/
  782. typedef struct xcb_glx_get_drawable_attributes_reply_t {
  783. uint8_t response_type;
  784. uint8_t pad0;
  785. uint16_t sequence;
  786. uint32_t length;
  787. uint32_t num_attribs;
  788. uint8_t pad1[20];
  789. } xcb_glx_get_drawable_attributes_reply_t;
  790. /** Opcode for xcb_glx_change_drawable_attributes. */
  791. #define XCB_GLX_CHANGE_DRAWABLE_ATTRIBUTES 30
  792. /**
  793. * @brief xcb_glx_change_drawable_attributes_request_t
  794. **/
  795. typedef struct xcb_glx_change_drawable_attributes_request_t {
  796. uint8_t major_opcode;
  797. uint8_t minor_opcode;
  798. uint16_t length;
  799. xcb_glx_drawable_t drawable;
  800. uint32_t num_attribs;
  801. } xcb_glx_change_drawable_attributes_request_t;
  802. /** Opcode for xcb_glx_create_window. */
  803. #define XCB_GLX_CREATE_WINDOW 31
  804. /**
  805. * @brief xcb_glx_create_window_request_t
  806. **/
  807. typedef struct xcb_glx_create_window_request_t {
  808. uint8_t major_opcode;
  809. uint8_t minor_opcode;
  810. uint16_t length;
  811. uint32_t screen;
  812. xcb_glx_fbconfig_t fbconfig;
  813. xcb_window_t window;
  814. xcb_glx_window_t glx_window;
  815. uint32_t num_attribs;
  816. } xcb_glx_create_window_request_t;
  817. /** Opcode for xcb_glx_delete_window. */
  818. #define XCB_GLX_DELETE_WINDOW 32
  819. /**
  820. * @brief xcb_glx_delete_window_request_t
  821. **/
  822. typedef struct xcb_glx_delete_window_request_t {
  823. uint8_t major_opcode;
  824. uint8_t minor_opcode;
  825. uint16_t length;
  826. xcb_glx_window_t glxwindow;
  827. } xcb_glx_delete_window_request_t;
  828. /** Opcode for xcb_glx_set_client_info_arb. */
  829. #define XCB_GLX_SET_CLIENT_INFO_ARB 33
  830. /**
  831. * @brief xcb_glx_set_client_info_arb_request_t
  832. **/
  833. typedef struct xcb_glx_set_client_info_arb_request_t {
  834. uint8_t major_opcode;
  835. uint8_t minor_opcode;
  836. uint16_t length;
  837. uint32_t major_version;
  838. uint32_t minor_version;
  839. uint32_t num_versions;
  840. uint32_t gl_str_len;
  841. uint32_t glx_str_len;
  842. } xcb_glx_set_client_info_arb_request_t;
  843. /** Opcode for xcb_glx_create_context_attribs_arb. */
  844. #define XCB_GLX_CREATE_CONTEXT_ATTRIBS_ARB 34
  845. /**
  846. * @brief xcb_glx_create_context_attribs_arb_request_t
  847. **/
  848. typedef struct xcb_glx_create_context_attribs_arb_request_t {
  849. uint8_t major_opcode;
  850. uint8_t minor_opcode;
  851. uint16_t length;
  852. xcb_glx_context_t context;
  853. xcb_glx_fbconfig_t fbconfig;
  854. uint32_t screen;
  855. xcb_glx_context_t share_list;
  856. uint8_t is_direct;
  857. uint8_t pad0[3];
  858. uint32_t num_attribs;
  859. } xcb_glx_create_context_attribs_arb_request_t;
  860. /** Opcode for xcb_glx_set_client_info_2arb. */
  861. #define XCB_GLX_SET_CLIENT_INFO_2ARB 35
  862. /**
  863. * @brief xcb_glx_set_client_info_2arb_request_t
  864. **/
  865. typedef struct xcb_glx_set_client_info_2arb_request_t {
  866. uint8_t major_opcode;
  867. uint8_t minor_opcode;
  868. uint16_t length;
  869. uint32_t major_version;
  870. uint32_t minor_version;
  871. uint32_t num_versions;
  872. uint32_t gl_str_len;
  873. uint32_t glx_str_len;
  874. } xcb_glx_set_client_info_2arb_request_t;
  875. /** Opcode for xcb_glx_new_list. */
  876. #define XCB_GLX_NEW_LIST 101
  877. /**
  878. * @brief xcb_glx_new_list_request_t
  879. **/
  880. typedef struct xcb_glx_new_list_request_t {
  881. uint8_t major_opcode;
  882. uint8_t minor_opcode;
  883. uint16_t length;
  884. xcb_glx_context_tag_t context_tag;
  885. uint32_t list;
  886. uint32_t mode;
  887. } xcb_glx_new_list_request_t;
  888. /** Opcode for xcb_glx_end_list. */
  889. #define XCB_GLX_END_LIST 102
  890. /**
  891. * @brief xcb_glx_end_list_request_t
  892. **/
  893. typedef struct xcb_glx_end_list_request_t {
  894. uint8_t major_opcode;
  895. uint8_t minor_opcode;
  896. uint16_t length;
  897. xcb_glx_context_tag_t context_tag;
  898. } xcb_glx_end_list_request_t;
  899. /** Opcode for xcb_glx_delete_lists. */
  900. #define XCB_GLX_DELETE_LISTS 103
  901. /**
  902. * @brief xcb_glx_delete_lists_request_t
  903. **/
  904. typedef struct xcb_glx_delete_lists_request_t {
  905. uint8_t major_opcode;
  906. uint8_t minor_opcode;
  907. uint16_t length;
  908. xcb_glx_context_tag_t context_tag;
  909. uint32_t list;
  910. int32_t range;
  911. } xcb_glx_delete_lists_request_t;
  912. /**
  913. * @brief xcb_glx_gen_lists_cookie_t
  914. **/
  915. typedef struct xcb_glx_gen_lists_cookie_t {
  916. unsigned int sequence;
  917. } xcb_glx_gen_lists_cookie_t;
  918. /** Opcode for xcb_glx_gen_lists. */
  919. #define XCB_GLX_GEN_LISTS 104
  920. /**
  921. * @brief xcb_glx_gen_lists_request_t
  922. **/
  923. typedef struct xcb_glx_gen_lists_request_t {
  924. uint8_t major_opcode;
  925. uint8_t minor_opcode;
  926. uint16_t length;
  927. xcb_glx_context_tag_t context_tag;
  928. int32_t range;
  929. } xcb_glx_gen_lists_request_t;
  930. /**
  931. * @brief xcb_glx_gen_lists_reply_t
  932. **/
  933. typedef struct xcb_glx_gen_lists_reply_t {
  934. uint8_t response_type;
  935. uint8_t pad0;
  936. uint16_t sequence;
  937. uint32_t length;
  938. uint32_t ret_val;
  939. } xcb_glx_gen_lists_reply_t;
  940. /** Opcode for xcb_glx_feedback_buffer. */
  941. #define XCB_GLX_FEEDBACK_BUFFER 105
  942. /**
  943. * @brief xcb_glx_feedback_buffer_request_t
  944. **/
  945. typedef struct xcb_glx_feedback_buffer_request_t {
  946. uint8_t major_opcode;
  947. uint8_t minor_opcode;
  948. uint16_t length;
  949. xcb_glx_context_tag_t context_tag;
  950. int32_t size;
  951. int32_t type;
  952. } xcb_glx_feedback_buffer_request_t;
  953. /** Opcode for xcb_glx_select_buffer. */
  954. #define XCB_GLX_SELECT_BUFFER 106
  955. /**
  956. * @brief xcb_glx_select_buffer_request_t
  957. **/
  958. typedef struct xcb_glx_select_buffer_request_t {
  959. uint8_t major_opcode;
  960. uint8_t minor_opcode;
  961. uint16_t length;
  962. xcb_glx_context_tag_t context_tag;
  963. int32_t size;
  964. } xcb_glx_select_buffer_request_t;
  965. /**
  966. * @brief xcb_glx_render_mode_cookie_t
  967. **/
  968. typedef struct xcb_glx_render_mode_cookie_t {
  969. unsigned int sequence;
  970. } xcb_glx_render_mode_cookie_t;
  971. /** Opcode for xcb_glx_render_mode. */
  972. #define XCB_GLX_RENDER_MODE 107
  973. /**
  974. * @brief xcb_glx_render_mode_request_t
  975. **/
  976. typedef struct xcb_glx_render_mode_request_t {
  977. uint8_t major_opcode;
  978. uint8_t minor_opcode;
  979. uint16_t length;
  980. xcb_glx_context_tag_t context_tag;
  981. uint32_t mode;
  982. } xcb_glx_render_mode_request_t;
  983. /**
  984. * @brief xcb_glx_render_mode_reply_t
  985. **/
  986. typedef struct xcb_glx_render_mode_reply_t {
  987. uint8_t response_type;
  988. uint8_t pad0;
  989. uint16_t sequence;
  990. uint32_t length;
  991. uint32_t ret_val;
  992. uint32_t n;
  993. uint32_t new_mode;
  994. uint8_t pad1[12];
  995. } xcb_glx_render_mode_reply_t;
  996. typedef enum xcb_glx_rm_t {
  997. XCB_GLX_RM_GL_RENDER = 7168,
  998. XCB_GLX_RM_GL_FEEDBACK = 7169,
  999. XCB_GLX_RM_GL_SELECT = 7170
  1000. } xcb_glx_rm_t;
  1001. /**
  1002. * @brief xcb_glx_finish_cookie_t
  1003. **/
  1004. typedef struct xcb_glx_finish_cookie_t {
  1005. unsigned int sequence;
  1006. } xcb_glx_finish_cookie_t;
  1007. /** Opcode for xcb_glx_finish. */
  1008. #define XCB_GLX_FINISH 108
  1009. /**
  1010. * @brief xcb_glx_finish_request_t
  1011. **/
  1012. typedef struct xcb_glx_finish_request_t {
  1013. uint8_t major_opcode;
  1014. uint8_t minor_opcode;
  1015. uint16_t length;
  1016. xcb_glx_context_tag_t context_tag;
  1017. } xcb_glx_finish_request_t;
  1018. /**
  1019. * @brief xcb_glx_finish_reply_t
  1020. **/
  1021. typedef struct xcb_glx_finish_reply_t {
  1022. uint8_t response_type;
  1023. uint8_t pad0;
  1024. uint16_t sequence;
  1025. uint32_t length;
  1026. } xcb_glx_finish_reply_t;
  1027. /** Opcode for xcb_glx_pixel_storef. */
  1028. #define XCB_GLX_PIXEL_STOREF 109
  1029. /**
  1030. * @brief xcb_glx_pixel_storef_request_t
  1031. **/
  1032. typedef struct xcb_glx_pixel_storef_request_t {
  1033. uint8_t major_opcode;
  1034. uint8_t minor_opcode;
  1035. uint16_t length;
  1036. xcb_glx_context_tag_t context_tag;
  1037. uint32_t pname;
  1038. xcb_glx_float32_t datum;
  1039. } xcb_glx_pixel_storef_request_t;
  1040. /** Opcode for xcb_glx_pixel_storei. */
  1041. #define XCB_GLX_PIXEL_STOREI 110
  1042. /**
  1043. * @brief xcb_glx_pixel_storei_request_t
  1044. **/
  1045. typedef struct xcb_glx_pixel_storei_request_t {
  1046. uint8_t major_opcode;
  1047. uint8_t minor_opcode;
  1048. uint16_t length;
  1049. xcb_glx_context_tag_t context_tag;
  1050. uint32_t pname;
  1051. int32_t datum;
  1052. } xcb_glx_pixel_storei_request_t;
  1053. /**
  1054. * @brief xcb_glx_read_pixels_cookie_t
  1055. **/
  1056. typedef struct xcb_glx_read_pixels_cookie_t {
  1057. unsigned int sequence;
  1058. } xcb_glx_read_pixels_cookie_t;
  1059. /** Opcode for xcb_glx_read_pixels. */
  1060. #define XCB_GLX_READ_PIXELS 111
  1061. /**
  1062. * @brief xcb_glx_read_pixels_request_t
  1063. **/
  1064. typedef struct xcb_glx_read_pixels_request_t {
  1065. uint8_t major_opcode;
  1066. uint8_t minor_opcode;
  1067. uint16_t length;
  1068. xcb_glx_context_tag_t context_tag;
  1069. int32_t x;
  1070. int32_t y;
  1071. int32_t width;
  1072. int32_t height;
  1073. uint32_t format;
  1074. uint32_t type;
  1075. uint8_t swap_bytes;
  1076. uint8_t lsb_first;
  1077. } xcb_glx_read_pixels_request_t;
  1078. /**
  1079. * @brief xcb_glx_read_pixels_reply_t
  1080. **/
  1081. typedef struct xcb_glx_read_pixels_reply_t {
  1082. uint8_t response_type;
  1083. uint8_t pad0;
  1084. uint16_t sequence;
  1085. uint32_t length;
  1086. uint8_t pad1[24];
  1087. } xcb_glx_read_pixels_reply_t;
  1088. /**
  1089. * @brief xcb_glx_get_booleanv_cookie_t
  1090. **/
  1091. typedef struct xcb_glx_get_booleanv_cookie_t {
  1092. unsigned int sequence;
  1093. } xcb_glx_get_booleanv_cookie_t;
  1094. /** Opcode for xcb_glx_get_booleanv. */
  1095. #define XCB_GLX_GET_BOOLEANV 112
  1096. /**
  1097. * @brief xcb_glx_get_booleanv_request_t
  1098. **/
  1099. typedef struct xcb_glx_get_booleanv_request_t {
  1100. uint8_t major_opcode;
  1101. uint8_t minor_opcode;
  1102. uint16_t length;
  1103. xcb_glx_context_tag_t context_tag;
  1104. int32_t pname;
  1105. } xcb_glx_get_booleanv_request_t;
  1106. /**
  1107. * @brief xcb_glx_get_booleanv_reply_t
  1108. **/
  1109. typedef struct xcb_glx_get_booleanv_reply_t {
  1110. uint8_t response_type;
  1111. uint8_t pad0;
  1112. uint16_t sequence;
  1113. uint32_t length;
  1114. uint8_t pad1[4];
  1115. uint32_t n;
  1116. uint8_t datum;
  1117. uint8_t pad2[15];
  1118. } xcb_glx_get_booleanv_reply_t;
  1119. /**
  1120. * @brief xcb_glx_get_clip_plane_cookie_t
  1121. **/
  1122. typedef struct xcb_glx_get_clip_plane_cookie_t {
  1123. unsigned int sequence;
  1124. } xcb_glx_get_clip_plane_cookie_t;
  1125. /** Opcode for xcb_glx_get_clip_plane. */
  1126. #define XCB_GLX_GET_CLIP_PLANE 113
  1127. /**
  1128. * @brief xcb_glx_get_clip_plane_request_t
  1129. **/
  1130. typedef struct xcb_glx_get_clip_plane_request_t {
  1131. uint8_t major_opcode;
  1132. uint8_t minor_opcode;
  1133. uint16_t length;
  1134. xcb_glx_context_tag_t context_tag;
  1135. int32_t plane;
  1136. } xcb_glx_get_clip_plane_request_t;
  1137. /**
  1138. * @brief xcb_glx_get_clip_plane_reply_t
  1139. **/
  1140. typedef struct xcb_glx_get_clip_plane_reply_t {
  1141. uint8_t response_type;
  1142. uint8_t pad0;
  1143. uint16_t sequence;
  1144. uint32_t length;
  1145. uint8_t pad1[24];
  1146. } xcb_glx_get_clip_plane_reply_t;
  1147. /**
  1148. * @brief xcb_glx_get_doublev_cookie_t
  1149. **/
  1150. typedef struct xcb_glx_get_doublev_cookie_t {
  1151. unsigned int sequence;
  1152. } xcb_glx_get_doublev_cookie_t;
  1153. /** Opcode for xcb_glx_get_doublev. */
  1154. #define XCB_GLX_GET_DOUBLEV 114
  1155. /**
  1156. * @brief xcb_glx_get_doublev_request_t
  1157. **/
  1158. typedef struct xcb_glx_get_doublev_request_t {
  1159. uint8_t major_opcode;
  1160. uint8_t minor_opcode;
  1161. uint16_t length;
  1162. xcb_glx_context_tag_t context_tag;
  1163. uint32_t pname;
  1164. } xcb_glx_get_doublev_request_t;
  1165. /**
  1166. * @brief xcb_glx_get_doublev_reply_t
  1167. **/
  1168. typedef struct xcb_glx_get_doublev_reply_t {
  1169. uint8_t response_type;
  1170. uint8_t pad0;
  1171. uint16_t sequence;
  1172. uint32_t length;
  1173. uint8_t pad1[4];
  1174. uint32_t n;
  1175. xcb_glx_float64_t datum;
  1176. uint8_t pad2[8];
  1177. } xcb_glx_get_doublev_reply_t;
  1178. /**
  1179. * @brief xcb_glx_get_error_cookie_t
  1180. **/
  1181. typedef struct xcb_glx_get_error_cookie_t {
  1182. unsigned int sequence;
  1183. } xcb_glx_get_error_cookie_t;
  1184. /** Opcode for xcb_glx_get_error. */
  1185. #define XCB_GLX_GET_ERROR 115
  1186. /**
  1187. * @brief xcb_glx_get_error_request_t
  1188. **/
  1189. typedef struct xcb_glx_get_error_request_t {
  1190. uint8_t major_opcode;
  1191. uint8_t minor_opcode;
  1192. uint16_t length;
  1193. xcb_glx_context_tag_t context_tag;
  1194. } xcb_glx_get_error_request_t;
  1195. /**
  1196. * @brief xcb_glx_get_error_reply_t
  1197. **/
  1198. typedef struct xcb_glx_get_error_reply_t {
  1199. uint8_t response_type;
  1200. uint8_t pad0;
  1201. uint16_t sequence;
  1202. uint32_t length;
  1203. int32_t error;
  1204. } xcb_glx_get_error_reply_t;
  1205. /**
  1206. * @brief xcb_glx_get_floatv_cookie_t
  1207. **/
  1208. typedef struct xcb_glx_get_floatv_cookie_t {
  1209. unsigned int sequence;
  1210. } xcb_glx_get_floatv_cookie_t;
  1211. /** Opcode for xcb_glx_get_floatv. */
  1212. #define XCB_GLX_GET_FLOATV 116
  1213. /**
  1214. * @brief xcb_glx_get_floatv_request_t
  1215. **/
  1216. typedef struct xcb_glx_get_floatv_request_t {
  1217. uint8_t major_opcode;
  1218. uint8_t minor_opcode;
  1219. uint16_t length;
  1220. xcb_glx_context_tag_t context_tag;
  1221. uint32_t pname;
  1222. } xcb_glx_get_floatv_request_t;
  1223. /**
  1224. * @brief xcb_glx_get_floatv_reply_t
  1225. **/
  1226. typedef struct xcb_glx_get_floatv_reply_t {
  1227. uint8_t response_type;
  1228. uint8_t pad0;
  1229. uint16_t sequence;
  1230. uint32_t length;
  1231. uint8_t pad1[4];
  1232. uint32_t n;
  1233. xcb_glx_float32_t datum;
  1234. uint8_t pad2[12];
  1235. } xcb_glx_get_floatv_reply_t;
  1236. /**
  1237. * @brief xcb_glx_get_integerv_cookie_t
  1238. **/
  1239. typedef struct xcb_glx_get_integerv_cookie_t {
  1240. unsigned int sequence;
  1241. } xcb_glx_get_integerv_cookie_t;
  1242. /** Opcode for xcb_glx_get_integerv. */
  1243. #define XCB_GLX_GET_INTEGERV 117
  1244. /**
  1245. * @brief xcb_glx_get_integerv_request_t
  1246. **/
  1247. typedef struct xcb_glx_get_integerv_request_t {
  1248. uint8_t major_opcode;
  1249. uint8_t minor_opcode;
  1250. uint16_t length;
  1251. xcb_glx_context_tag_t context_tag;
  1252. uint32_t pname;
  1253. } xcb_glx_get_integerv_request_t;
  1254. /**
  1255. * @brief xcb_glx_get_integerv_reply_t
  1256. **/
  1257. typedef struct xcb_glx_get_integerv_reply_t {
  1258. uint8_t response_type;
  1259. uint8_t pad0;
  1260. uint16_t sequence;
  1261. uint32_t length;
  1262. uint8_t pad1[4];
  1263. uint32_t n;
  1264. int32_t datum;
  1265. uint8_t pad2[12];
  1266. } xcb_glx_get_integerv_reply_t;
  1267. /**
  1268. * @brief xcb_glx_get_lightfv_cookie_t
  1269. **/
  1270. typedef struct xcb_glx_get_lightfv_cookie_t {
  1271. unsigned int sequence;
  1272. } xcb_glx_get_lightfv_cookie_t;
  1273. /** Opcode for xcb_glx_get_lightfv. */
  1274. #define XCB_GLX_GET_LIGHTFV 118
  1275. /**
  1276. * @brief xcb_glx_get_lightfv_request_t
  1277. **/
  1278. typedef struct xcb_glx_get_lightfv_request_t {
  1279. uint8_t major_opcode;
  1280. uint8_t minor_opcode;
  1281. uint16_t length;
  1282. xcb_glx_context_tag_t context_tag;
  1283. uint32_t light;
  1284. uint32_t pname;
  1285. } xcb_glx_get_lightfv_request_t;
  1286. /**
  1287. * @brief xcb_glx_get_lightfv_reply_t
  1288. **/
  1289. typedef struct xcb_glx_get_lightfv_reply_t {
  1290. uint8_t response_type;
  1291. uint8_t pad0;
  1292. uint16_t sequence;
  1293. uint32_t length;
  1294. uint8_t pad1[4];
  1295. uint32_t n;
  1296. xcb_glx_float32_t datum;
  1297. uint8_t pad2[12];
  1298. } xcb_glx_get_lightfv_reply_t;
  1299. /**
  1300. * @brief xcb_glx_get_lightiv_cookie_t
  1301. **/
  1302. typedef struct xcb_glx_get_lightiv_cookie_t {
  1303. unsigned int sequence;
  1304. } xcb_glx_get_lightiv_cookie_t;
  1305. /** Opcode for xcb_glx_get_lightiv. */
  1306. #define XCB_GLX_GET_LIGHTIV 119
  1307. /**
  1308. * @brief xcb_glx_get_lightiv_request_t
  1309. **/
  1310. typedef struct xcb_glx_get_lightiv_request_t {
  1311. uint8_t major_opcode;
  1312. uint8_t minor_opcode;
  1313. uint16_t length;
  1314. xcb_glx_context_tag_t context_tag;
  1315. uint32_t light;
  1316. uint32_t pname;
  1317. } xcb_glx_get_lightiv_request_t;
  1318. /**
  1319. * @brief xcb_glx_get_lightiv_reply_t
  1320. **/
  1321. typedef struct xcb_glx_get_lightiv_reply_t {
  1322. uint8_t response_type;
  1323. uint8_t pad0;
  1324. uint16_t sequence;
  1325. uint32_t length;
  1326. uint8_t pad1[4];
  1327. uint32_t n;
  1328. int32_t datum;
  1329. uint8_t pad2[12];
  1330. } xcb_glx_get_lightiv_reply_t;
  1331. /**
  1332. * @brief xcb_glx_get_mapdv_cookie_t
  1333. **/
  1334. typedef struct xcb_glx_get_mapdv_cookie_t {
  1335. unsigned int sequence;
  1336. } xcb_glx_get_mapdv_cookie_t;
  1337. /** Opcode for xcb_glx_get_mapdv. */
  1338. #define XCB_GLX_GET_MAPDV 120
  1339. /**
  1340. * @brief xcb_glx_get_mapdv_request_t
  1341. **/
  1342. typedef struct xcb_glx_get_mapdv_request_t {
  1343. uint8_t major_opcode;
  1344. uint8_t minor_opcode;
  1345. uint16_t length;
  1346. xcb_glx_context_tag_t context_tag;
  1347. uint32_t target;
  1348. uint32_t query;
  1349. } xcb_glx_get_mapdv_request_t;
  1350. /**
  1351. * @brief xcb_glx_get_mapdv_reply_t
  1352. **/
  1353. typedef struct xcb_glx_get_mapdv_reply_t {
  1354. uint8_t response_type;
  1355. uint8_t pad0;
  1356. uint16_t sequence;
  1357. uint32_t length;
  1358. uint8_t pad1[4];
  1359. uint32_t n;
  1360. xcb_glx_float64_t datum;
  1361. uint8_t pad2[8];
  1362. } xcb_glx_get_mapdv_reply_t;
  1363. /**
  1364. * @brief xcb_glx_get_mapfv_cookie_t
  1365. **/
  1366. typedef struct xcb_glx_get_mapfv_cookie_t {
  1367. unsigned int sequence;
  1368. } xcb_glx_get_mapfv_cookie_t;
  1369. /** Opcode for xcb_glx_get_mapfv. */
  1370. #define XCB_GLX_GET_MAPFV 121
  1371. /**
  1372. * @brief xcb_glx_get_mapfv_request_t
  1373. **/
  1374. typedef struct xcb_glx_get_mapfv_request_t {
  1375. uint8_t major_opcode;
  1376. uint8_t minor_opcode;
  1377. uint16_t length;
  1378. xcb_glx_context_tag_t context_tag;
  1379. uint32_t target;
  1380. uint32_t query;
  1381. } xcb_glx_get_mapfv_request_t;
  1382. /**
  1383. * @brief xcb_glx_get_mapfv_reply_t
  1384. **/
  1385. typedef struct xcb_glx_get_mapfv_reply_t {
  1386. uint8_t response_type;
  1387. uint8_t pad0;
  1388. uint16_t sequence;
  1389. uint32_t length;
  1390. uint8_t pad1[4];
  1391. uint32_t n;
  1392. xcb_glx_float32_t datum;
  1393. uint8_t pad2[12];
  1394. } xcb_glx_get_mapfv_reply_t;
  1395. /**
  1396. * @brief xcb_glx_get_mapiv_cookie_t
  1397. **/
  1398. typedef struct xcb_glx_get_mapiv_cookie_t {
  1399. unsigned int sequence;
  1400. } xcb_glx_get_mapiv_cookie_t;
  1401. /** Opcode for xcb_glx_get_mapiv. */
  1402. #define XCB_GLX_GET_MAPIV 122
  1403. /**
  1404. * @brief xcb_glx_get_mapiv_request_t
  1405. **/
  1406. typedef struct xcb_glx_get_mapiv_request_t {
  1407. uint8_t major_opcode;
  1408. uint8_t minor_opcode;
  1409. uint16_t length;
  1410. xcb_glx_context_tag_t context_tag;
  1411. uint32_t target;
  1412. uint32_t query;
  1413. } xcb_glx_get_mapiv_request_t;
  1414. /**
  1415. * @brief xcb_glx_get_mapiv_reply_t
  1416. **/
  1417. typedef struct xcb_glx_get_mapiv_reply_t {
  1418. uint8_t response_type;
  1419. uint8_t pad0;
  1420. uint16_t sequence;
  1421. uint32_t length;
  1422. uint8_t pad1[4];
  1423. uint32_t n;
  1424. int32_t datum;
  1425. uint8_t pad2[12];
  1426. } xcb_glx_get_mapiv_reply_t;
  1427. /**
  1428. * @brief xcb_glx_get_materialfv_cookie_t
  1429. **/
  1430. typedef struct xcb_glx_get_materialfv_cookie_t {
  1431. unsigned int sequence;
  1432. } xcb_glx_get_materialfv_cookie_t;
  1433. /** Opcode for xcb_glx_get_materialfv. */
  1434. #define XCB_GLX_GET_MATERIALFV 123
  1435. /**
  1436. * @brief xcb_glx_get_materialfv_request_t
  1437. **/
  1438. typedef struct xcb_glx_get_materialfv_request_t {
  1439. uint8_t major_opcode;
  1440. uint8_t minor_opcode;
  1441. uint16_t length;
  1442. xcb_glx_context_tag_t context_tag;
  1443. uint32_t face;
  1444. uint32_t pname;
  1445. } xcb_glx_get_materialfv_request_t;
  1446. /**
  1447. * @brief xcb_glx_get_materialfv_reply_t
  1448. **/
  1449. typedef struct xcb_glx_get_materialfv_reply_t {
  1450. uint8_t response_type;
  1451. uint8_t pad0;
  1452. uint16_t sequence;
  1453. uint32_t length;
  1454. uint8_t pad1[4];
  1455. uint32_t n;
  1456. xcb_glx_float32_t datum;
  1457. uint8_t pad2[12];
  1458. } xcb_glx_get_materialfv_reply_t;
  1459. /**
  1460. * @brief xcb_glx_get_materialiv_cookie_t
  1461. **/
  1462. typedef struct xcb_glx_get_materialiv_cookie_t {
  1463. unsigned int sequence;
  1464. } xcb_glx_get_materialiv_cookie_t;
  1465. /** Opcode for xcb_glx_get_materialiv. */
  1466. #define XCB_GLX_GET_MATERIALIV 124
  1467. /**
  1468. * @brief xcb_glx_get_materialiv_request_t
  1469. **/
  1470. typedef struct xcb_glx_get_materialiv_request_t {
  1471. uint8_t major_opcode;
  1472. uint8_t minor_opcode;
  1473. uint16_t length;
  1474. xcb_glx_context_tag_t context_tag;
  1475. uint32_t face;
  1476. uint32_t pname;
  1477. } xcb_glx_get_materialiv_request_t;
  1478. /**
  1479. * @brief xcb_glx_get_materialiv_reply_t
  1480. **/
  1481. typedef struct xcb_glx_get_materialiv_reply_t {
  1482. uint8_t response_type;
  1483. uint8_t pad0;
  1484. uint16_t sequence;
  1485. uint32_t length;
  1486. uint8_t pad1[4];
  1487. uint32_t n;
  1488. int32_t datum;
  1489. uint8_t pad2[12];
  1490. } xcb_glx_get_materialiv_reply_t;
  1491. /**
  1492. * @brief xcb_glx_get_pixel_mapfv_cookie_t
  1493. **/
  1494. typedef struct xcb_glx_get_pixel_mapfv_cookie_t {
  1495. unsigned int sequence;
  1496. } xcb_glx_get_pixel_mapfv_cookie_t;
  1497. /** Opcode for xcb_glx_get_pixel_mapfv. */
  1498. #define XCB_GLX_GET_PIXEL_MAPFV 125
  1499. /**
  1500. * @brief xcb_glx_get_pixel_mapfv_request_t
  1501. **/
  1502. typedef struct xcb_glx_get_pixel_mapfv_request_t {
  1503. uint8_t major_opcode;
  1504. uint8_t minor_opcode;
  1505. uint16_t length;
  1506. xcb_glx_context_tag_t context_tag;
  1507. uint32_t map;
  1508. } xcb_glx_get_pixel_mapfv_request_t;
  1509. /**
  1510. * @brief xcb_glx_get_pixel_mapfv_reply_t
  1511. **/
  1512. typedef struct xcb_glx_get_pixel_mapfv_reply_t {
  1513. uint8_t response_type;
  1514. uint8_t pad0;
  1515. uint16_t sequence;
  1516. uint32_t length;
  1517. uint8_t pad1[4];
  1518. uint32_t n;
  1519. xcb_glx_float32_t datum;
  1520. uint8_t pad2[12];
  1521. } xcb_glx_get_pixel_mapfv_reply_t;
  1522. /**
  1523. * @brief xcb_glx_get_pixel_mapuiv_cookie_t
  1524. **/
  1525. typedef struct xcb_glx_get_pixel_mapuiv_cookie_t {
  1526. unsigned int sequence;
  1527. } xcb_glx_get_pixel_mapuiv_cookie_t;
  1528. /** Opcode for xcb_glx_get_pixel_mapuiv. */
  1529. #define XCB_GLX_GET_PIXEL_MAPUIV 126
  1530. /**
  1531. * @brief xcb_glx_get_pixel_mapuiv_request_t
  1532. **/
  1533. typedef struct xcb_glx_get_pixel_mapuiv_request_t {
  1534. uint8_t major_opcode;
  1535. uint8_t minor_opcode;
  1536. uint16_t length;
  1537. xcb_glx_context_tag_t context_tag;
  1538. uint32_t map;
  1539. } xcb_glx_get_pixel_mapuiv_request_t;
  1540. /**
  1541. * @brief xcb_glx_get_pixel_mapuiv_reply_t
  1542. **/
  1543. typedef struct xcb_glx_get_pixel_mapuiv_reply_t {
  1544. uint8_t response_type;
  1545. uint8_t pad0;
  1546. uint16_t sequence;
  1547. uint32_t length;
  1548. uint8_t pad1[4];
  1549. uint32_t n;
  1550. uint32_t datum;
  1551. uint8_t pad2[12];
  1552. } xcb_glx_get_pixel_mapuiv_reply_t;
  1553. /**
  1554. * @brief xcb_glx_get_pixel_mapusv_cookie_t
  1555. **/
  1556. typedef struct xcb_glx_get_pixel_mapusv_cookie_t {
  1557. unsigned int sequence;
  1558. } xcb_glx_get_pixel_mapusv_cookie_t;
  1559. /** Opcode for xcb_glx_get_pixel_mapusv. */
  1560. #define XCB_GLX_GET_PIXEL_MAPUSV 127
  1561. /**
  1562. * @brief xcb_glx_get_pixel_mapusv_request_t
  1563. **/
  1564. typedef struct xcb_glx_get_pixel_mapusv_request_t {
  1565. uint8_t major_opcode;
  1566. uint8_t minor_opcode;
  1567. uint16_t length;
  1568. xcb_glx_context_tag_t context_tag;
  1569. uint32_t map;
  1570. } xcb_glx_get_pixel_mapusv_request_t;
  1571. /**
  1572. * @brief xcb_glx_get_pixel_mapusv_reply_t
  1573. **/
  1574. typedef struct xcb_glx_get_pixel_mapusv_reply_t {
  1575. uint8_t response_type;
  1576. uint8_t pad0;
  1577. uint16_t sequence;
  1578. uint32_t length;
  1579. uint8_t pad1[4];
  1580. uint32_t n;
  1581. uint16_t datum;
  1582. uint8_t pad2[16];
  1583. } xcb_glx_get_pixel_mapusv_reply_t;
  1584. /**
  1585. * @brief xcb_glx_get_polygon_stipple_cookie_t
  1586. **/
  1587. typedef struct xcb_glx_get_polygon_stipple_cookie_t {
  1588. unsigned int sequence;
  1589. } xcb_glx_get_polygon_stipple_cookie_t;
  1590. /** Opcode for xcb_glx_get_polygon_stipple. */
  1591. #define XCB_GLX_GET_POLYGON_STIPPLE 128
  1592. /**
  1593. * @brief xcb_glx_get_polygon_stipple_request_t
  1594. **/
  1595. typedef struct xcb_glx_get_polygon_stipple_request_t {
  1596. uint8_t major_opcode;
  1597. uint8_t minor_opcode;
  1598. uint16_t length;
  1599. xcb_glx_context_tag_t context_tag;
  1600. uint8_t lsb_first;
  1601. } xcb_glx_get_polygon_stipple_request_t;
  1602. /**
  1603. * @brief xcb_glx_get_polygon_stipple_reply_t
  1604. **/
  1605. typedef struct xcb_glx_get_polygon_stipple_reply_t {
  1606. uint8_t response_type;
  1607. uint8_t pad0;
  1608. uint16_t sequence;
  1609. uint32_t length;
  1610. uint8_t pad1[24];
  1611. } xcb_glx_get_polygon_stipple_reply_t;
  1612. /**
  1613. * @brief xcb_glx_get_string_cookie_t
  1614. **/
  1615. typedef struct xcb_glx_get_string_cookie_t {
  1616. unsigned int sequence;
  1617. } xcb_glx_get_string_cookie_t;
  1618. /** Opcode for xcb_glx_get_string. */
  1619. #define XCB_GLX_GET_STRING 129
  1620. /**
  1621. * @brief xcb_glx_get_string_request_t
  1622. **/
  1623. typedef struct xcb_glx_get_string_request_t {
  1624. uint8_t major_opcode;
  1625. uint8_t minor_opcode;
  1626. uint16_t length;
  1627. xcb_glx_context_tag_t context_tag;
  1628. uint32_t name;
  1629. } xcb_glx_get_string_request_t;
  1630. /**
  1631. * @brief xcb_glx_get_string_reply_t
  1632. **/
  1633. typedef struct xcb_glx_get_string_reply_t {
  1634. uint8_t response_type;
  1635. uint8_t pad0;
  1636. uint16_t sequence;
  1637. uint32_t length;
  1638. uint8_t pad1[4];
  1639. uint32_t n;
  1640. uint8_t pad2[16];
  1641. } xcb_glx_get_string_reply_t;
  1642. /**
  1643. * @brief xcb_glx_get_tex_envfv_cookie_t
  1644. **/
  1645. typedef struct xcb_glx_get_tex_envfv_cookie_t {
  1646. unsigned int sequence;
  1647. } xcb_glx_get_tex_envfv_cookie_t;
  1648. /** Opcode for xcb_glx_get_tex_envfv. */
  1649. #define XCB_GLX_GET_TEX_ENVFV 130
  1650. /**
  1651. * @brief xcb_glx_get_tex_envfv_request_t
  1652. **/
  1653. typedef struct xcb_glx_get_tex_envfv_request_t {
  1654. uint8_t major_opcode;
  1655. uint8_t minor_opcode;
  1656. uint16_t length;
  1657. xcb_glx_context_tag_t context_tag;
  1658. uint32_t target;
  1659. uint32_t pname;
  1660. } xcb_glx_get_tex_envfv_request_t;
  1661. /**
  1662. * @brief xcb_glx_get_tex_envfv_reply_t
  1663. **/
  1664. typedef struct xcb_glx_get_tex_envfv_reply_t {
  1665. uint8_t response_type;
  1666. uint8_t pad0;
  1667. uint16_t sequence;
  1668. uint32_t length;
  1669. uint8_t pad1[4];
  1670. uint32_t n;
  1671. xcb_glx_float32_t datum;
  1672. uint8_t pad2[12];
  1673. } xcb_glx_get_tex_envfv_reply_t;
  1674. /**
  1675. * @brief xcb_glx_get_tex_enviv_cookie_t
  1676. **/
  1677. typedef struct xcb_glx_get_tex_enviv_cookie_t {
  1678. unsigned int sequence;
  1679. } xcb_glx_get_tex_enviv_cookie_t;
  1680. /** Opcode for xcb_glx_get_tex_enviv. */
  1681. #define XCB_GLX_GET_TEX_ENVIV 131
  1682. /**
  1683. * @brief xcb_glx_get_tex_enviv_request_t
  1684. **/
  1685. typedef struct xcb_glx_get_tex_enviv_request_t {
  1686. uint8_t major_opcode;
  1687. uint8_t minor_opcode;
  1688. uint16_t length;
  1689. xcb_glx_context_tag_t context_tag;
  1690. uint32_t target;
  1691. uint32_t pname;
  1692. } xcb_glx_get_tex_enviv_request_t;
  1693. /**
  1694. * @brief xcb_glx_get_tex_enviv_reply_t
  1695. **/
  1696. typedef struct xcb_glx_get_tex_enviv_reply_t {
  1697. uint8_t response_type;
  1698. uint8_t pad0;
  1699. uint16_t sequence;
  1700. uint32_t length;
  1701. uint8_t pad1[4];
  1702. uint32_t n;
  1703. int32_t datum;
  1704. uint8_t pad2[12];
  1705. } xcb_glx_get_tex_enviv_reply_t;
  1706. /**
  1707. * @brief xcb_glx_get_tex_gendv_cookie_t
  1708. **/
  1709. typedef struct xcb_glx_get_tex_gendv_cookie_t {
  1710. unsigned int sequence;
  1711. } xcb_glx_get_tex_gendv_cookie_t;
  1712. /** Opcode for xcb_glx_get_tex_gendv. */
  1713. #define XCB_GLX_GET_TEX_GENDV 132
  1714. /**
  1715. * @brief xcb_glx_get_tex_gendv_request_t
  1716. **/
  1717. typedef struct xcb_glx_get_tex_gendv_request_t {
  1718. uint8_t major_opcode;
  1719. uint8_t minor_opcode;
  1720. uint16_t length;
  1721. xcb_glx_context_tag_t context_tag;
  1722. uint32_t coord;
  1723. uint32_t pname;
  1724. } xcb_glx_get_tex_gendv_request_t;
  1725. /**
  1726. * @brief xcb_glx_get_tex_gendv_reply_t
  1727. **/
  1728. typedef struct xcb_glx_get_tex_gendv_reply_t {
  1729. uint8_t response_type;
  1730. uint8_t pad0;
  1731. uint16_t sequence;
  1732. uint32_t length;
  1733. uint8_t pad1[4];
  1734. uint32_t n;
  1735. xcb_glx_float64_t datum;
  1736. uint8_t pad2[8];
  1737. } xcb_glx_get_tex_gendv_reply_t;
  1738. /**
  1739. * @brief xcb_glx_get_tex_genfv_cookie_t
  1740. **/
  1741. typedef struct xcb_glx_get_tex_genfv_cookie_t {
  1742. unsigned int sequence;
  1743. } xcb_glx_get_tex_genfv_cookie_t;
  1744. /** Opcode for xcb_glx_get_tex_genfv. */
  1745. #define XCB_GLX_GET_TEX_GENFV 133
  1746. /**
  1747. * @brief xcb_glx_get_tex_genfv_request_t
  1748. **/
  1749. typedef struct xcb_glx_get_tex_genfv_request_t {
  1750. uint8_t major_opcode;
  1751. uint8_t minor_opcode;
  1752. uint16_t length;
  1753. xcb_glx_context_tag_t context_tag;
  1754. uint32_t coord;
  1755. uint32_t pname;
  1756. } xcb_glx_get_tex_genfv_request_t;
  1757. /**
  1758. * @brief xcb_glx_get_tex_genfv_reply_t
  1759. **/
  1760. typedef struct xcb_glx_get_tex_genfv_reply_t {
  1761. uint8_t response_type;
  1762. uint8_t pad0;
  1763. uint16_t sequence;
  1764. uint32_t length;
  1765. uint8_t pad1[4];
  1766. uint32_t n;
  1767. xcb_glx_float32_t datum;
  1768. uint8_t pad2[12];
  1769. } xcb_glx_get_tex_genfv_reply_t;
  1770. /**
  1771. * @brief xcb_glx_get_tex_geniv_cookie_t
  1772. **/
  1773. typedef struct xcb_glx_get_tex_geniv_cookie_t {
  1774. unsigned int sequence;
  1775. } xcb_glx_get_tex_geniv_cookie_t;
  1776. /** Opcode for xcb_glx_get_tex_geniv. */
  1777. #define XCB_GLX_GET_TEX_GENIV 134
  1778. /**
  1779. * @brief xcb_glx_get_tex_geniv_request_t
  1780. **/
  1781. typedef struct xcb_glx_get_tex_geniv_request_t {
  1782. uint8_t major_opcode;
  1783. uint8_t minor_opcode;
  1784. uint16_t length;
  1785. xcb_glx_context_tag_t context_tag;
  1786. uint32_t coord;
  1787. uint32_t pname;
  1788. } xcb_glx_get_tex_geniv_request_t;
  1789. /**
  1790. * @brief xcb_glx_get_tex_geniv_reply_t
  1791. **/
  1792. typedef struct xcb_glx_get_tex_geniv_reply_t {
  1793. uint8_t response_type;
  1794. uint8_t pad0;
  1795. uint16_t sequence;
  1796. uint32_t length;
  1797. uint8_t pad1[4];
  1798. uint32_t n;
  1799. int32_t datum;
  1800. uint8_t pad2[12];
  1801. } xcb_glx_get_tex_geniv_reply_t;
  1802. /**
  1803. * @brief xcb_glx_get_tex_image_cookie_t
  1804. **/
  1805. typedef struct xcb_glx_get_tex_image_cookie_t {
  1806. unsigned int sequence;
  1807. } xcb_glx_get_tex_image_cookie_t;
  1808. /** Opcode for xcb_glx_get_tex_image. */
  1809. #define XCB_GLX_GET_TEX_IMAGE 135
  1810. /**
  1811. * @brief xcb_glx_get_tex_image_request_t
  1812. **/
  1813. typedef struct xcb_glx_get_tex_image_request_t {
  1814. uint8_t major_opcode;
  1815. uint8_t minor_opcode;
  1816. uint16_t length;
  1817. xcb_glx_context_tag_t context_tag;
  1818. uint32_t target;
  1819. int32_t level;
  1820. uint32_t format;
  1821. uint32_t type;
  1822. uint8_t swap_bytes;
  1823. } xcb_glx_get_tex_image_request_t;
  1824. /**
  1825. * @brief xcb_glx_get_tex_image_reply_t
  1826. **/
  1827. typedef struct xcb_glx_get_tex_image_reply_t {
  1828. uint8_t response_type;
  1829. uint8_t pad0;
  1830. uint16_t sequence;
  1831. uint32_t length;
  1832. uint8_t pad1[8];
  1833. int32_t width;
  1834. int32_t height;
  1835. int32_t depth;
  1836. uint8_t pad2[4];
  1837. } xcb_glx_get_tex_image_reply_t;
  1838. /**
  1839. * @brief xcb_glx_get_tex_parameterfv_cookie_t
  1840. **/
  1841. typedef struct xcb_glx_get_tex_parameterfv_cookie_t {
  1842. unsigned int sequence;
  1843. } xcb_glx_get_tex_parameterfv_cookie_t;
  1844. /** Opcode for xcb_glx_get_tex_parameterfv. */
  1845. #define XCB_GLX_GET_TEX_PARAMETERFV 136
  1846. /**
  1847. * @brief xcb_glx_get_tex_parameterfv_request_t
  1848. **/
  1849. typedef struct xcb_glx_get_tex_parameterfv_request_t {
  1850. uint8_t major_opcode;
  1851. uint8_t minor_opcode;
  1852. uint16_t length;
  1853. xcb_glx_context_tag_t context_tag;
  1854. uint32_t target;
  1855. uint32_t pname;
  1856. } xcb_glx_get_tex_parameterfv_request_t;
  1857. /**
  1858. * @brief xcb_glx_get_tex_parameterfv_reply_t
  1859. **/
  1860. typedef struct xcb_glx_get_tex_parameterfv_reply_t {
  1861. uint8_t response_type;
  1862. uint8_t pad0;
  1863. uint16_t sequence;
  1864. uint32_t length;
  1865. uint8_t pad1[4];
  1866. uint32_t n;
  1867. xcb_glx_float32_t datum;
  1868. uint8_t pad2[12];
  1869. } xcb_glx_get_tex_parameterfv_reply_t;
  1870. /**
  1871. * @brief xcb_glx_get_tex_parameteriv_cookie_t
  1872. **/
  1873. typedef struct xcb_glx_get_tex_parameteriv_cookie_t {
  1874. unsigned int sequence;
  1875. } xcb_glx_get_tex_parameteriv_cookie_t;
  1876. /** Opcode for xcb_glx_get_tex_parameteriv. */
  1877. #define XCB_GLX_GET_TEX_PARAMETERIV 137
  1878. /**
  1879. * @brief xcb_glx_get_tex_parameteriv_request_t
  1880. **/
  1881. typedef struct xcb_glx_get_tex_parameteriv_request_t {
  1882. uint8_t major_opcode;
  1883. uint8_t minor_opcode;
  1884. uint16_t length;
  1885. xcb_glx_context_tag_t context_tag;
  1886. uint32_t target;
  1887. uint32_t pname;
  1888. } xcb_glx_get_tex_parameteriv_request_t;
  1889. /**
  1890. * @brief xcb_glx_get_tex_parameteriv_reply_t
  1891. **/
  1892. typedef struct xcb_glx_get_tex_parameteriv_reply_t {
  1893. uint8_t response_type;
  1894. uint8_t pad0;
  1895. uint16_t sequence;
  1896. uint32_t length;
  1897. uint8_t pad1[4];
  1898. uint32_t n;
  1899. int32_t datum;
  1900. uint8_t pad2[12];
  1901. } xcb_glx_get_tex_parameteriv_reply_t;
  1902. /**
  1903. * @brief xcb_glx_get_tex_level_parameterfv_cookie_t
  1904. **/
  1905. typedef struct xcb_glx_get_tex_level_parameterfv_cookie_t {
  1906. unsigned int sequence;
  1907. } xcb_glx_get_tex_level_parameterfv_cookie_t;
  1908. /** Opcode for xcb_glx_get_tex_level_parameterfv. */
  1909. #define XCB_GLX_GET_TEX_LEVEL_PARAMETERFV 138
  1910. /**
  1911. * @brief xcb_glx_get_tex_level_parameterfv_request_t
  1912. **/
  1913. typedef struct xcb_glx_get_tex_level_parameterfv_request_t {
  1914. uint8_t major_opcode;
  1915. uint8_t minor_opcode;
  1916. uint16_t length;
  1917. xcb_glx_context_tag_t context_tag;
  1918. uint32_t target;
  1919. int32_t level;
  1920. uint32_t pname;
  1921. } xcb_glx_get_tex_level_parameterfv_request_t;
  1922. /**
  1923. * @brief xcb_glx_get_tex_level_parameterfv_reply_t
  1924. **/
  1925. typedef struct xcb_glx_get_tex_level_parameterfv_reply_t {
  1926. uint8_t response_type;
  1927. uint8_t pad0;
  1928. uint16_t sequence;
  1929. uint32_t length;
  1930. uint8_t pad1[4];
  1931. uint32_t n;
  1932. xcb_glx_float32_t datum;
  1933. uint8_t pad2[12];
  1934. } xcb_glx_get_tex_level_parameterfv_reply_t;
  1935. /**
  1936. * @brief xcb_glx_get_tex_level_parameteriv_cookie_t
  1937. **/
  1938. typedef struct xcb_glx_get_tex_level_parameteriv_cookie_t {
  1939. unsigned int sequence;
  1940. } xcb_glx_get_tex_level_parameteriv_cookie_t;
  1941. /** Opcode for xcb_glx_get_tex_level_parameteriv. */
  1942. #define XCB_GLX_GET_TEX_LEVEL_PARAMETERIV 139
  1943. /**
  1944. * @brief xcb_glx_get_tex_level_parameteriv_request_t
  1945. **/
  1946. typedef struct xcb_glx_get_tex_level_parameteriv_request_t {
  1947. uint8_t major_opcode;
  1948. uint8_t minor_opcode;
  1949. uint16_t length;
  1950. xcb_glx_context_tag_t context_tag;
  1951. uint32_t target;
  1952. int32_t level;
  1953. uint32_t pname;
  1954. } xcb_glx_get_tex_level_parameteriv_request_t;
  1955. /**
  1956. * @brief xcb_glx_get_tex_level_parameteriv_reply_t
  1957. **/
  1958. typedef struct xcb_glx_get_tex_level_parameteriv_reply_t {
  1959. uint8_t response_type;
  1960. uint8_t pad0;
  1961. uint16_t sequence;
  1962. uint32_t length;
  1963. uint8_t pad1[4];
  1964. uint32_t n;
  1965. int32_t datum;
  1966. uint8_t pad2[12];
  1967. } xcb_glx_get_tex_level_parameteriv_reply_t;
  1968. /**
  1969. * @brief xcb_glx_is_enabled_cookie_t
  1970. **/
  1971. typedef struct xcb_glx_is_enabled_cookie_t {
  1972. unsigned int sequence;
  1973. } xcb_glx_is_enabled_cookie_t;
  1974. /** Opcode for xcb_glx_is_enabled. */
  1975. #define XCB_GLX_IS_ENABLED 140
  1976. /**
  1977. * @brief xcb_glx_is_enabled_request_t
  1978. **/
  1979. typedef struct xcb_glx_is_enabled_request_t {
  1980. uint8_t major_opcode;
  1981. uint8_t minor_opcode;
  1982. uint16_t length;
  1983. xcb_glx_context_tag_t context_tag;
  1984. uint32_t capability;
  1985. } xcb_glx_is_enabled_request_t;
  1986. /**
  1987. * @brief xcb_glx_is_enabled_reply_t
  1988. **/
  1989. typedef struct xcb_glx_is_enabled_reply_t {
  1990. uint8_t response_type;
  1991. uint8_t pad0;
  1992. uint16_t sequence;
  1993. uint32_t length;
  1994. xcb_glx_bool32_t ret_val;
  1995. } xcb_glx_is_enabled_reply_t;
  1996. /**
  1997. * @brief xcb_glx_is_list_cookie_t
  1998. **/
  1999. typedef struct xcb_glx_is_list_cookie_t {
  2000. unsigned int sequence;
  2001. } xcb_glx_is_list_cookie_t;
  2002. /** Opcode for xcb_glx_is_list. */
  2003. #define XCB_GLX_IS_LIST 141
  2004. /**
  2005. * @brief xcb_glx_is_list_request_t
  2006. **/
  2007. typedef struct xcb_glx_is_list_request_t {
  2008. uint8_t major_opcode;
  2009. uint8_t minor_opcode;
  2010. uint16_t length;
  2011. xcb_glx_context_tag_t context_tag;
  2012. uint32_t list;
  2013. } xcb_glx_is_list_request_t;
  2014. /**
  2015. * @brief xcb_glx_is_list_reply_t
  2016. **/
  2017. typedef struct xcb_glx_is_list_reply_t {
  2018. uint8_t response_type;
  2019. uint8_t pad0;
  2020. uint16_t sequence;
  2021. uint32_t length;
  2022. xcb_glx_bool32_t ret_val;
  2023. } xcb_glx_is_list_reply_t;
  2024. /** Opcode for xcb_glx_flush. */
  2025. #define XCB_GLX_FLUSH 142
  2026. /**
  2027. * @brief xcb_glx_flush_request_t
  2028. **/
  2029. typedef struct xcb_glx_flush_request_t {
  2030. uint8_t major_opcode;
  2031. uint8_t minor_opcode;
  2032. uint16_t length;
  2033. xcb_glx_context_tag_t context_tag;
  2034. } xcb_glx_flush_request_t;
  2035. /**
  2036. * @brief xcb_glx_are_textures_resident_cookie_t
  2037. **/
  2038. typedef struct xcb_glx_are_textures_resident_cookie_t {
  2039. unsigned int sequence;
  2040. } xcb_glx_are_textures_resident_cookie_t;
  2041. /** Opcode for xcb_glx_are_textures_resident. */
  2042. #define XCB_GLX_ARE_TEXTURES_RESIDENT 143
  2043. /**
  2044. * @brief xcb_glx_are_textures_resident_request_t
  2045. **/
  2046. typedef struct xcb_glx_are_textures_resident_request_t {
  2047. uint8_t major_opcode;
  2048. uint8_t minor_opcode;
  2049. uint16_t length;
  2050. xcb_glx_context_tag_t context_tag;
  2051. int32_t n;
  2052. } xcb_glx_are_textures_resident_request_t;
  2053. /**
  2054. * @brief xcb_glx_are_textures_resident_reply_t
  2055. **/
  2056. typedef struct xcb_glx_are_textures_resident_reply_t {
  2057. uint8_t response_type;
  2058. uint8_t pad0;
  2059. uint16_t sequence;
  2060. uint32_t length;
  2061. xcb_glx_bool32_t ret_val;
  2062. uint8_t pad1[20];
  2063. } xcb_glx_are_textures_resident_reply_t;
  2064. /** Opcode for xcb_glx_delete_textures. */
  2065. #define XCB_GLX_DELETE_TEXTURES 144
  2066. /**
  2067. * @brief xcb_glx_delete_textures_request_t
  2068. **/
  2069. typedef struct xcb_glx_delete_textures_request_t {
  2070. uint8_t major_opcode;
  2071. uint8_t minor_opcode;
  2072. uint16_t length;
  2073. xcb_glx_context_tag_t context_tag;
  2074. int32_t n;
  2075. } xcb_glx_delete_textures_request_t;
  2076. /**
  2077. * @brief xcb_glx_gen_textures_cookie_t
  2078. **/
  2079. typedef struct xcb_glx_gen_textures_cookie_t {
  2080. unsigned int sequence;
  2081. } xcb_glx_gen_textures_cookie_t;
  2082. /** Opcode for xcb_glx_gen_textures. */
  2083. #define XCB_GLX_GEN_TEXTURES 145
  2084. /**
  2085. * @brief xcb_glx_gen_textures_request_t
  2086. **/
  2087. typedef struct xcb_glx_gen_textures_request_t {
  2088. uint8_t major_opcode;
  2089. uint8_t minor_opcode;
  2090. uint16_t length;
  2091. xcb_glx_context_tag_t context_tag;
  2092. int32_t n;
  2093. } xcb_glx_gen_textures_request_t;
  2094. /**
  2095. * @brief xcb_glx_gen_textures_reply_t
  2096. **/
  2097. typedef struct xcb_glx_gen_textures_reply_t {
  2098. uint8_t response_type;
  2099. uint8_t pad0;
  2100. uint16_t sequence;
  2101. uint32_t length;
  2102. uint8_t pad1[24];
  2103. } xcb_glx_gen_textures_reply_t;
  2104. /**
  2105. * @brief xcb_glx_is_texture_cookie_t
  2106. **/
  2107. typedef struct xcb_glx_is_texture_cookie_t {
  2108. unsigned int sequence;
  2109. } xcb_glx_is_texture_cookie_t;
  2110. /** Opcode for xcb_glx_is_texture. */
  2111. #define XCB_GLX_IS_TEXTURE 146
  2112. /**
  2113. * @brief xcb_glx_is_texture_request_t
  2114. **/
  2115. typedef struct xcb_glx_is_texture_request_t {
  2116. uint8_t major_opcode;
  2117. uint8_t minor_opcode;
  2118. uint16_t length;
  2119. xcb_glx_context_tag_t context_tag;
  2120. uint32_t texture;
  2121. } xcb_glx_is_texture_request_t;
  2122. /**
  2123. * @brief xcb_glx_is_texture_reply_t
  2124. **/
  2125. typedef struct xcb_glx_is_texture_reply_t {
  2126. uint8_t response_type;
  2127. uint8_t pad0;
  2128. uint16_t sequence;
  2129. uint32_t length;
  2130. xcb_glx_bool32_t ret_val;
  2131. } xcb_glx_is_texture_reply_t;
  2132. /**
  2133. * @brief xcb_glx_get_color_table_cookie_t
  2134. **/
  2135. typedef struct xcb_glx_get_color_table_cookie_t {
  2136. unsigned int sequence;
  2137. } xcb_glx_get_color_table_cookie_t;
  2138. /** Opcode for xcb_glx_get_color_table. */
  2139. #define XCB_GLX_GET_COLOR_TABLE 147
  2140. /**
  2141. * @brief xcb_glx_get_color_table_request_t
  2142. **/
  2143. typedef struct xcb_glx_get_color_table_request_t {
  2144. uint8_t major_opcode;
  2145. uint8_t minor_opcode;
  2146. uint16_t length;
  2147. xcb_glx_context_tag_t context_tag;
  2148. uint32_t target;
  2149. uint32_t format;
  2150. uint32_t type;
  2151. uint8_t swap_bytes;
  2152. } xcb_glx_get_color_table_request_t;
  2153. /**
  2154. * @brief xcb_glx_get_color_table_reply_t
  2155. **/
  2156. typedef struct xcb_glx_get_color_table_reply_t {
  2157. uint8_t response_type;
  2158. uint8_t pad0;
  2159. uint16_t sequence;
  2160. uint32_t length;
  2161. uint8_t pad1[8];
  2162. int32_t width;
  2163. uint8_t pad2[12];
  2164. } xcb_glx_get_color_table_reply_t;
  2165. /**
  2166. * @brief xcb_glx_get_color_table_parameterfv_cookie_t
  2167. **/
  2168. typedef struct xcb_glx_get_color_table_parameterfv_cookie_t {
  2169. unsigned int sequence;
  2170. } xcb_glx_get_color_table_parameterfv_cookie_t;
  2171. /** Opcode for xcb_glx_get_color_table_parameterfv. */
  2172. #define XCB_GLX_GET_COLOR_TABLE_PARAMETERFV 148
  2173. /**
  2174. * @brief xcb_glx_get_color_table_parameterfv_request_t
  2175. **/
  2176. typedef struct xcb_glx_get_color_table_parameterfv_request_t {
  2177. uint8_t major_opcode;
  2178. uint8_t minor_opcode;
  2179. uint16_t length;
  2180. xcb_glx_context_tag_t context_tag;
  2181. uint32_t target;
  2182. uint32_t pname;
  2183. } xcb_glx_get_color_table_parameterfv_request_t;
  2184. /**
  2185. * @brief xcb_glx_get_color_table_parameterfv_reply_t
  2186. **/
  2187. typedef struct xcb_glx_get_color_table_parameterfv_reply_t {
  2188. uint8_t response_type;
  2189. uint8_t pad0;
  2190. uint16_t sequence;
  2191. uint32_t length;
  2192. uint8_t pad1[4];
  2193. uint32_t n;
  2194. xcb_glx_float32_t datum;
  2195. uint8_t pad2[12];
  2196. } xcb_glx_get_color_table_parameterfv_reply_t;
  2197. /**
  2198. * @brief xcb_glx_get_color_table_parameteriv_cookie_t
  2199. **/
  2200. typedef struct xcb_glx_get_color_table_parameteriv_cookie_t {
  2201. unsigned int sequence;
  2202. } xcb_glx_get_color_table_parameteriv_cookie_t;
  2203. /** Opcode for xcb_glx_get_color_table_parameteriv. */
  2204. #define XCB_GLX_GET_COLOR_TABLE_PARAMETERIV 149
  2205. /**
  2206. * @brief xcb_glx_get_color_table_parameteriv_request_t
  2207. **/
  2208. typedef struct xcb_glx_get_color_table_parameteriv_request_t {
  2209. uint8_t major_opcode;
  2210. uint8_t minor_opcode;
  2211. uint16_t length;
  2212. xcb_glx_context_tag_t context_tag;
  2213. uint32_t target;
  2214. uint32_t pname;
  2215. } xcb_glx_get_color_table_parameteriv_request_t;
  2216. /**
  2217. * @brief xcb_glx_get_color_table_parameteriv_reply_t
  2218. **/
  2219. typedef struct xcb_glx_get_color_table_parameteriv_reply_t {
  2220. uint8_t response_type;
  2221. uint8_t pad0;
  2222. uint16_t sequence;
  2223. uint32_t length;
  2224. uint8_t pad1[4];
  2225. uint32_t n;
  2226. int32_t datum;
  2227. uint8_t pad2[12];
  2228. } xcb_glx_get_color_table_parameteriv_reply_t;
  2229. /**
  2230. * @brief xcb_glx_get_convolution_filter_cookie_t
  2231. **/
  2232. typedef struct xcb_glx_get_convolution_filter_cookie_t {
  2233. unsigned int sequence;
  2234. } xcb_glx_get_convolution_filter_cookie_t;
  2235. /** Opcode for xcb_glx_get_convolution_filter. */
  2236. #define XCB_GLX_GET_CONVOLUTION_FILTER 150
  2237. /**
  2238. * @brief xcb_glx_get_convolution_filter_request_t
  2239. **/
  2240. typedef struct xcb_glx_get_convolution_filter_request_t {
  2241. uint8_t major_opcode;
  2242. uint8_t minor_opcode;
  2243. uint16_t length;
  2244. xcb_glx_context_tag_t context_tag;
  2245. uint32_t target;
  2246. uint32_t format;
  2247. uint32_t type;
  2248. uint8_t swap_bytes;
  2249. } xcb_glx_get_convolution_filter_request_t;
  2250. /**
  2251. * @brief xcb_glx_get_convolution_filter_reply_t
  2252. **/
  2253. typedef struct xcb_glx_get_convolution_filter_reply_t {
  2254. uint8_t response_type;
  2255. uint8_t pad0;
  2256. uint16_t sequence;
  2257. uint32_t length;
  2258. uint8_t pad1[8];
  2259. int32_t width;
  2260. int32_t height;
  2261. uint8_t pad2[8];
  2262. } xcb_glx_get_convolution_filter_reply_t;
  2263. /**
  2264. * @brief xcb_glx_get_convolution_parameterfv_cookie_t
  2265. **/
  2266. typedef struct xcb_glx_get_convolution_parameterfv_cookie_t {
  2267. unsigned int sequence;
  2268. } xcb_glx_get_convolution_parameterfv_cookie_t;
  2269. /** Opcode for xcb_glx_get_convolution_parameterfv. */
  2270. #define XCB_GLX_GET_CONVOLUTION_PARAMETERFV 151
  2271. /**
  2272. * @brief xcb_glx_get_convolution_parameterfv_request_t
  2273. **/
  2274. typedef struct xcb_glx_get_convolution_parameterfv_request_t {
  2275. uint8_t major_opcode;
  2276. uint8_t minor_opcode;
  2277. uint16_t length;
  2278. xcb_glx_context_tag_t context_tag;
  2279. uint32_t target;
  2280. uint32_t pname;
  2281. } xcb_glx_get_convolution_parameterfv_request_t;
  2282. /**
  2283. * @brief xcb_glx_get_convolution_parameterfv_reply_t
  2284. **/
  2285. typedef struct xcb_glx_get_convolution_parameterfv_reply_t {
  2286. uint8_t response_type;
  2287. uint8_t pad0;
  2288. uint16_t sequence;
  2289. uint32_t length;
  2290. uint8_t pad1[4];
  2291. uint32_t n;
  2292. xcb_glx_float32_t datum;
  2293. uint8_t pad2[12];
  2294. } xcb_glx_get_convolution_parameterfv_reply_t;
  2295. /**
  2296. * @brief xcb_glx_get_convolution_parameteriv_cookie_t
  2297. **/
  2298. typedef struct xcb_glx_get_convolution_parameteriv_cookie_t {
  2299. unsigned int sequence;
  2300. } xcb_glx_get_convolution_parameteriv_cookie_t;
  2301. /** Opcode for xcb_glx_get_convolution_parameteriv. */
  2302. #define XCB_GLX_GET_CONVOLUTION_PARAMETERIV 152
  2303. /**
  2304. * @brief xcb_glx_get_convolution_parameteriv_request_t
  2305. **/
  2306. typedef struct xcb_glx_get_convolution_parameteriv_request_t {
  2307. uint8_t major_opcode;
  2308. uint8_t minor_opcode;
  2309. uint16_t length;
  2310. xcb_glx_context_tag_t context_tag;
  2311. uint32_t target;
  2312. uint32_t pname;
  2313. } xcb_glx_get_convolution_parameteriv_request_t;
  2314. /**
  2315. * @brief xcb_glx_get_convolution_parameteriv_reply_t
  2316. **/
  2317. typedef struct xcb_glx_get_convolution_parameteriv_reply_t {
  2318. uint8_t response_type;
  2319. uint8_t pad0;
  2320. uint16_t sequence;
  2321. uint32_t length;
  2322. uint8_t pad1[4];
  2323. uint32_t n;
  2324. int32_t datum;
  2325. uint8_t pad2[12];
  2326. } xcb_glx_get_convolution_parameteriv_reply_t;
  2327. /**
  2328. * @brief xcb_glx_get_separable_filter_cookie_t
  2329. **/
  2330. typedef struct xcb_glx_get_separable_filter_cookie_t {
  2331. unsigned int sequence;
  2332. } xcb_glx_get_separable_filter_cookie_t;
  2333. /** Opcode for xcb_glx_get_separable_filter. */
  2334. #define XCB_GLX_GET_SEPARABLE_FILTER 153
  2335. /**
  2336. * @brief xcb_glx_get_separable_filter_request_t
  2337. **/
  2338. typedef struct xcb_glx_get_separable_filter_request_t {
  2339. uint8_t major_opcode;
  2340. uint8_t minor_opcode;
  2341. uint16_t length;
  2342. xcb_glx_context_tag_t context_tag;
  2343. uint32_t target;
  2344. uint32_t format;
  2345. uint32_t type;
  2346. uint8_t swap_bytes;
  2347. } xcb_glx_get_separable_filter_request_t;
  2348. /**
  2349. * @brief xcb_glx_get_separable_filter_reply_t
  2350. **/
  2351. typedef struct xcb_glx_get_separable_filter_reply_t {
  2352. uint8_t response_type;
  2353. uint8_t pad0;
  2354. uint16_t sequence;
  2355. uint32_t length;
  2356. uint8_t pad1[8];
  2357. int32_t row_w;
  2358. int32_t col_h;
  2359. uint8_t pad2[8];
  2360. } xcb_glx_get_separable_filter_reply_t;
  2361. /**
  2362. * @brief xcb_glx_get_histogram_cookie_t
  2363. **/
  2364. typedef struct xcb_glx_get_histogram_cookie_t {
  2365. unsigned int sequence;
  2366. } xcb_glx_get_histogram_cookie_t;
  2367. /** Opcode for xcb_glx_get_histogram. */
  2368. #define XCB_GLX_GET_HISTOGRAM 154
  2369. /**
  2370. * @brief xcb_glx_get_histogram_request_t
  2371. **/
  2372. typedef struct xcb_glx_get_histogram_request_t {
  2373. uint8_t major_opcode;
  2374. uint8_t minor_opcode;
  2375. uint16_t length;
  2376. xcb_glx_context_tag_t context_tag;
  2377. uint32_t target;
  2378. uint32_t format;
  2379. uint32_t type;
  2380. uint8_t swap_bytes;
  2381. uint8_t reset;
  2382. } xcb_glx_get_histogram_request_t;
  2383. /**
  2384. * @brief xcb_glx_get_histogram_reply_t
  2385. **/
  2386. typedef struct xcb_glx_get_histogram_reply_t {
  2387. uint8_t response_type;
  2388. uint8_t pad0;
  2389. uint16_t sequence;
  2390. uint32_t length;
  2391. uint8_t pad1[8];
  2392. int32_t width;
  2393. uint8_t pad2[12];
  2394. } xcb_glx_get_histogram_reply_t;
  2395. /**
  2396. * @brief xcb_glx_get_histogram_parameterfv_cookie_t
  2397. **/
  2398. typedef struct xcb_glx_get_histogram_parameterfv_cookie_t {
  2399. unsigned int sequence;
  2400. } xcb_glx_get_histogram_parameterfv_cookie_t;
  2401. /** Opcode for xcb_glx_get_histogram_parameterfv. */
  2402. #define XCB_GLX_GET_HISTOGRAM_PARAMETERFV 155
  2403. /**
  2404. * @brief xcb_glx_get_histogram_parameterfv_request_t
  2405. **/
  2406. typedef struct xcb_glx_get_histogram_parameterfv_request_t {
  2407. uint8_t major_opcode;
  2408. uint8_t minor_opcode;
  2409. uint16_t length;
  2410. xcb_glx_context_tag_t context_tag;
  2411. uint32_t target;
  2412. uint32_t pname;
  2413. } xcb_glx_get_histogram_parameterfv_request_t;
  2414. /**
  2415. * @brief xcb_glx_get_histogram_parameterfv_reply_t
  2416. **/
  2417. typedef struct xcb_glx_get_histogram_parameterfv_reply_t {
  2418. uint8_t response_type;
  2419. uint8_t pad0;
  2420. uint16_t sequence;
  2421. uint32_t length;
  2422. uint8_t pad1[4];
  2423. uint32_t n;
  2424. xcb_glx_float32_t datum;
  2425. uint8_t pad2[12];
  2426. } xcb_glx_get_histogram_parameterfv_reply_t;
  2427. /**
  2428. * @brief xcb_glx_get_histogram_parameteriv_cookie_t
  2429. **/
  2430. typedef struct xcb_glx_get_histogram_parameteriv_cookie_t {
  2431. unsigned int sequence;
  2432. } xcb_glx_get_histogram_parameteriv_cookie_t;
  2433. /** Opcode for xcb_glx_get_histogram_parameteriv. */
  2434. #define XCB_GLX_GET_HISTOGRAM_PARAMETERIV 156
  2435. /**
  2436. * @brief xcb_glx_get_histogram_parameteriv_request_t
  2437. **/
  2438. typedef struct xcb_glx_get_histogram_parameteriv_request_t {
  2439. uint8_t major_opcode;
  2440. uint8_t minor_opcode;
  2441. uint16_t length;
  2442. xcb_glx_context_tag_t context_tag;
  2443. uint32_t target;
  2444. uint32_t pname;
  2445. } xcb_glx_get_histogram_parameteriv_request_t;
  2446. /**
  2447. * @brief xcb_glx_get_histogram_parameteriv_reply_t
  2448. **/
  2449. typedef struct xcb_glx_get_histogram_parameteriv_reply_t {
  2450. uint8_t response_type;
  2451. uint8_t pad0;
  2452. uint16_t sequence;
  2453. uint32_t length;
  2454. uint8_t pad1[4];
  2455. uint32_t n;
  2456. int32_t datum;
  2457. uint8_t pad2[12];
  2458. } xcb_glx_get_histogram_parameteriv_reply_t;
  2459. /**
  2460. * @brief xcb_glx_get_minmax_cookie_t
  2461. **/
  2462. typedef struct xcb_glx_get_minmax_cookie_t {
  2463. unsigned int sequence;
  2464. } xcb_glx_get_minmax_cookie_t;
  2465. /** Opcode for xcb_glx_get_minmax. */
  2466. #define XCB_GLX_GET_MINMAX 157
  2467. /**
  2468. * @brief xcb_glx_get_minmax_request_t
  2469. **/
  2470. typedef struct xcb_glx_get_minmax_request_t {
  2471. uint8_t major_opcode;
  2472. uint8_t minor_opcode;
  2473. uint16_t length;
  2474. xcb_glx_context_tag_t context_tag;
  2475. uint32_t target;
  2476. uint32_t format;
  2477. uint32_t type;
  2478. uint8_t swap_bytes;
  2479. uint8_t reset;
  2480. } xcb_glx_get_minmax_request_t;
  2481. /**
  2482. * @brief xcb_glx_get_minmax_reply_t
  2483. **/
  2484. typedef struct xcb_glx_get_minmax_reply_t {
  2485. uint8_t response_type;
  2486. uint8_t pad0;
  2487. uint16_t sequence;
  2488. uint32_t length;
  2489. uint8_t pad1[24];
  2490. } xcb_glx_get_minmax_reply_t;
  2491. /**
  2492. * @brief xcb_glx_get_minmax_parameterfv_cookie_t
  2493. **/
  2494. typedef struct xcb_glx_get_minmax_parameterfv_cookie_t {
  2495. unsigned int sequence;
  2496. } xcb_glx_get_minmax_parameterfv_cookie_t;
  2497. /** Opcode for xcb_glx_get_minmax_parameterfv. */
  2498. #define XCB_GLX_GET_MINMAX_PARAMETERFV 158
  2499. /**
  2500. * @brief xcb_glx_get_minmax_parameterfv_request_t
  2501. **/
  2502. typedef struct xcb_glx_get_minmax_parameterfv_request_t {
  2503. uint8_t major_opcode;
  2504. uint8_t minor_opcode;
  2505. uint16_t length;
  2506. xcb_glx_context_tag_t context_tag;
  2507. uint32_t target;
  2508. uint32_t pname;
  2509. } xcb_glx_get_minmax_parameterfv_request_t;
  2510. /**
  2511. * @brief xcb_glx_get_minmax_parameterfv_reply_t
  2512. **/
  2513. typedef struct xcb_glx_get_minmax_parameterfv_reply_t {
  2514. uint8_t response_type;
  2515. uint8_t pad0;
  2516. uint16_t sequence;
  2517. uint32_t length;
  2518. uint8_t pad1[4];
  2519. uint32_t n;
  2520. xcb_glx_float32_t datum;
  2521. uint8_t pad2[12];
  2522. } xcb_glx_get_minmax_parameterfv_reply_t;
  2523. /**
  2524. * @brief xcb_glx_get_minmax_parameteriv_cookie_t
  2525. **/
  2526. typedef struct xcb_glx_get_minmax_parameteriv_cookie_t {
  2527. unsigned int sequence;
  2528. } xcb_glx_get_minmax_parameteriv_cookie_t;
  2529. /** Opcode for xcb_glx_get_minmax_parameteriv. */
  2530. #define XCB_GLX_GET_MINMAX_PARAMETERIV 159
  2531. /**
  2532. * @brief xcb_glx_get_minmax_parameteriv_request_t
  2533. **/
  2534. typedef struct xcb_glx_get_minmax_parameteriv_request_t {
  2535. uint8_t major_opcode;
  2536. uint8_t minor_opcode;
  2537. uint16_t length;
  2538. xcb_glx_context_tag_t context_tag;
  2539. uint32_t target;
  2540. uint32_t pname;
  2541. } xcb_glx_get_minmax_parameteriv_request_t;
  2542. /**
  2543. * @brief xcb_glx_get_minmax_parameteriv_reply_t
  2544. **/
  2545. typedef struct xcb_glx_get_minmax_parameteriv_reply_t {
  2546. uint8_t response_type;
  2547. uint8_t pad0;
  2548. uint16_t sequence;
  2549. uint32_t length;
  2550. uint8_t pad1[4];
  2551. uint32_t n;
  2552. int32_t datum;
  2553. uint8_t pad2[12];
  2554. } xcb_glx_get_minmax_parameteriv_reply_t;
  2555. /**
  2556. * @brief xcb_glx_get_compressed_tex_image_arb_cookie_t
  2557. **/
  2558. typedef struct xcb_glx_get_compressed_tex_image_arb_cookie_t {
  2559. unsigned int sequence;
  2560. } xcb_glx_get_compressed_tex_image_arb_cookie_t;
  2561. /** Opcode for xcb_glx_get_compressed_tex_image_arb. */
  2562. #define XCB_GLX_GET_COMPRESSED_TEX_IMAGE_ARB 160
  2563. /**
  2564. * @brief xcb_glx_get_compressed_tex_image_arb_request_t
  2565. **/
  2566. typedef struct xcb_glx_get_compressed_tex_image_arb_request_t {
  2567. uint8_t major_opcode;
  2568. uint8_t minor_opcode;
  2569. uint16_t length;
  2570. xcb_glx_context_tag_t context_tag;
  2571. uint32_t target;
  2572. int32_t level;
  2573. } xcb_glx_get_compressed_tex_image_arb_request_t;
  2574. /**
  2575. * @brief xcb_glx_get_compressed_tex_image_arb_reply_t
  2576. **/
  2577. typedef struct xcb_glx_get_compressed_tex_image_arb_reply_t {
  2578. uint8_t response_type;
  2579. uint8_t pad0;
  2580. uint16_t sequence;
  2581. uint32_t length;
  2582. uint8_t pad1[8];
  2583. int32_t size;
  2584. uint8_t pad2[12];
  2585. } xcb_glx_get_compressed_tex_image_arb_reply_t;
  2586. /** Opcode for xcb_glx_delete_queries_arb. */
  2587. #define XCB_GLX_DELETE_QUERIES_ARB 161
  2588. /**
  2589. * @brief xcb_glx_delete_queries_arb_request_t
  2590. **/
  2591. typedef struct xcb_glx_delete_queries_arb_request_t {
  2592. uint8_t major_opcode;
  2593. uint8_t minor_opcode;
  2594. uint16_t length;
  2595. xcb_glx_context_tag_t context_tag;
  2596. int32_t n;
  2597. } xcb_glx_delete_queries_arb_request_t;
  2598. /**
  2599. * @brief xcb_glx_gen_queries_arb_cookie_t
  2600. **/
  2601. typedef struct xcb_glx_gen_queries_arb_cookie_t {
  2602. unsigned int sequence;
  2603. } xcb_glx_gen_queries_arb_cookie_t;
  2604. /** Opcode for xcb_glx_gen_queries_arb. */
  2605. #define XCB_GLX_GEN_QUERIES_ARB 162
  2606. /**
  2607. * @brief xcb_glx_gen_queries_arb_request_t
  2608. **/
  2609. typedef struct xcb_glx_gen_queries_arb_request_t {
  2610. uint8_t major_opcode;
  2611. uint8_t minor_opcode;
  2612. uint16_t length;
  2613. xcb_glx_context_tag_t context_tag;
  2614. int32_t n;
  2615. } xcb_glx_gen_queries_arb_request_t;
  2616. /**
  2617. * @brief xcb_glx_gen_queries_arb_reply_t
  2618. **/
  2619. typedef struct xcb_glx_gen_queries_arb_reply_t {
  2620. uint8_t response_type;
  2621. uint8_t pad0;
  2622. uint16_t sequence;
  2623. uint32_t length;
  2624. uint8_t pad1[24];
  2625. } xcb_glx_gen_queries_arb_reply_t;
  2626. /**
  2627. * @brief xcb_glx_is_query_arb_cookie_t
  2628. **/
  2629. typedef struct xcb_glx_is_query_arb_cookie_t {
  2630. unsigned int sequence;
  2631. } xcb_glx_is_query_arb_cookie_t;
  2632. /** Opcode for xcb_glx_is_query_arb. */
  2633. #define XCB_GLX_IS_QUERY_ARB 163
  2634. /**
  2635. * @brief xcb_glx_is_query_arb_request_t
  2636. **/
  2637. typedef struct xcb_glx_is_query_arb_request_t {
  2638. uint8_t major_opcode;
  2639. uint8_t minor_opcode;
  2640. uint16_t length;
  2641. xcb_glx_context_tag_t context_tag;
  2642. uint32_t id;
  2643. } xcb_glx_is_query_arb_request_t;
  2644. /**
  2645. * @brief xcb_glx_is_query_arb_reply_t
  2646. **/
  2647. typedef struct xcb_glx_is_query_arb_reply_t {
  2648. uint8_t response_type;
  2649. uint8_t pad0;
  2650. uint16_t sequence;
  2651. uint32_t length;
  2652. xcb_glx_bool32_t ret_val;
  2653. } xcb_glx_is_query_arb_reply_t;
  2654. /**
  2655. * @brief xcb_glx_get_queryiv_arb_cookie_t
  2656. **/
  2657. typedef struct xcb_glx_get_queryiv_arb_cookie_t {
  2658. unsigned int sequence;
  2659. } xcb_glx_get_queryiv_arb_cookie_t;
  2660. /** Opcode for xcb_glx_get_queryiv_arb. */
  2661. #define XCB_GLX_GET_QUERYIV_ARB 164
  2662. /**
  2663. * @brief xcb_glx_get_queryiv_arb_request_t
  2664. **/
  2665. typedef struct xcb_glx_get_queryiv_arb_request_t {
  2666. uint8_t major_opcode;
  2667. uint8_t minor_opcode;
  2668. uint16_t length;
  2669. xcb_glx_context_tag_t context_tag;
  2670. uint32_t target;
  2671. uint32_t pname;
  2672. } xcb_glx_get_queryiv_arb_request_t;
  2673. /**
  2674. * @brief xcb_glx_get_queryiv_arb_reply_t
  2675. **/
  2676. typedef struct xcb_glx_get_queryiv_arb_reply_t {
  2677. uint8_t response_type;
  2678. uint8_t pad0;
  2679. uint16_t sequence;
  2680. uint32_t length;
  2681. uint8_t pad1[4];
  2682. uint32_t n;
  2683. int32_t datum;
  2684. uint8_t pad2[12];
  2685. } xcb_glx_get_queryiv_arb_reply_t;
  2686. /**
  2687. * @brief xcb_glx_get_query_objectiv_arb_cookie_t
  2688. **/
  2689. typedef struct xcb_glx_get_query_objectiv_arb_cookie_t {
  2690. unsigned int sequence;
  2691. } xcb_glx_get_query_objectiv_arb_cookie_t;
  2692. /** Opcode for xcb_glx_get_query_objectiv_arb. */
  2693. #define XCB_GLX_GET_QUERY_OBJECTIV_ARB 165
  2694. /**
  2695. * @brief xcb_glx_get_query_objectiv_arb_request_t
  2696. **/
  2697. typedef struct xcb_glx_get_query_objectiv_arb_request_t {
  2698. uint8_t major_opcode;
  2699. uint8_t minor_opcode;
  2700. uint16_t length;
  2701. xcb_glx_context_tag_t context_tag;
  2702. uint32_t id;
  2703. uint32_t pname;
  2704. } xcb_glx_get_query_objectiv_arb_request_t;
  2705. /**
  2706. * @brief xcb_glx_get_query_objectiv_arb_reply_t
  2707. **/
  2708. typedef struct xcb_glx_get_query_objectiv_arb_reply_t {
  2709. uint8_t response_type;
  2710. uint8_t pad0;
  2711. uint16_t sequence;
  2712. uint32_t length;
  2713. uint8_t pad1[4];
  2714. uint32_t n;
  2715. int32_t datum;
  2716. uint8_t pad2[12];
  2717. } xcb_glx_get_query_objectiv_arb_reply_t;
  2718. /**
  2719. * @brief xcb_glx_get_query_objectuiv_arb_cookie_t
  2720. **/
  2721. typedef struct xcb_glx_get_query_objectuiv_arb_cookie_t {
  2722. unsigned int sequence;
  2723. } xcb_glx_get_query_objectuiv_arb_cookie_t;
  2724. /** Opcode for xcb_glx_get_query_objectuiv_arb. */
  2725. #define XCB_GLX_GET_QUERY_OBJECTUIV_ARB 166
  2726. /**
  2727. * @brief xcb_glx_get_query_objectuiv_arb_request_t
  2728. **/
  2729. typedef struct xcb_glx_get_query_objectuiv_arb_request_t {
  2730. uint8_t major_opcode;
  2731. uint8_t minor_opcode;
  2732. uint16_t length;
  2733. xcb_glx_context_tag_t context_tag;
  2734. uint32_t id;
  2735. uint32_t pname;
  2736. } xcb_glx_get_query_objectuiv_arb_request_t;
  2737. /**
  2738. * @brief xcb_glx_get_query_objectuiv_arb_reply_t
  2739. **/
  2740. typedef struct xcb_glx_get_query_objectuiv_arb_reply_t {
  2741. uint8_t response_type;
  2742. uint8_t pad0;
  2743. uint16_t sequence;
  2744. uint32_t length;
  2745. uint8_t pad1[4];
  2746. uint32_t n;
  2747. uint32_t datum;
  2748. uint8_t pad2[12];
  2749. } xcb_glx_get_query_objectuiv_arb_reply_t;
  2750. /**
  2751. * Get the next element of the iterator
  2752. * @param i Pointer to a xcb_glx_pixmap_iterator_t
  2753. *
  2754. * Get the next element in the iterator. The member rem is
  2755. * decreased by one. The member data points to the next
  2756. * element. The member index is increased by sizeof(xcb_glx_pixmap_t)
  2757. */
  2758. void
  2759. xcb_glx_pixmap_next (xcb_glx_pixmap_iterator_t *i);
  2760. /**
  2761. * Return the iterator pointing to the last element
  2762. * @param i An xcb_glx_pixmap_iterator_t
  2763. * @return The iterator pointing to the last element
  2764. *
  2765. * Set the current element in the iterator to the last element.
  2766. * The member rem is set to 0. The member data points to the
  2767. * last element.
  2768. */
  2769. xcb_generic_iterator_t
  2770. xcb_glx_pixmap_end (xcb_glx_pixmap_iterator_t i);
  2771. /**
  2772. * Get the next element of the iterator
  2773. * @param i Pointer to a xcb_glx_context_iterator_t
  2774. *
  2775. * Get the next element in the iterator. The member rem is
  2776. * decreased by one. The member data points to the next
  2777. * element. The member index is increased by sizeof(xcb_glx_context_t)
  2778. */
  2779. void
  2780. xcb_glx_context_next (xcb_glx_context_iterator_t *i);
  2781. /**
  2782. * Return the iterator pointing to the last element
  2783. * @param i An xcb_glx_context_iterator_t
  2784. * @return The iterator pointing to the last element
  2785. *
  2786. * Set the current element in the iterator to the last element.
  2787. * The member rem is set to 0. The member data points to the
  2788. * last element.
  2789. */
  2790. xcb_generic_iterator_t
  2791. xcb_glx_context_end (xcb_glx_context_iterator_t i);
  2792. /**
  2793. * Get the next element of the iterator
  2794. * @param i Pointer to a xcb_glx_pbuffer_iterator_t
  2795. *
  2796. * Get the next element in the iterator. The member rem is
  2797. * decreased by one. The member data points to the next
  2798. * element. The member index is increased by sizeof(xcb_glx_pbuffer_t)
  2799. */
  2800. void
  2801. xcb_glx_pbuffer_next (xcb_glx_pbuffer_iterator_t *i);
  2802. /**
  2803. * Return the iterator pointing to the last element
  2804. * @param i An xcb_glx_pbuffer_iterator_t
  2805. * @return The iterator pointing to the last element
  2806. *
  2807. * Set the current element in the iterator to the last element.
  2808. * The member rem is set to 0. The member data points to the
  2809. * last element.
  2810. */
  2811. xcb_generic_iterator_t
  2812. xcb_glx_pbuffer_end (xcb_glx_pbuffer_iterator_t i);
  2813. /**
  2814. * Get the next element of the iterator
  2815. * @param i Pointer to a xcb_glx_window_iterator_t
  2816. *
  2817. * Get the next element in the iterator. The member rem is
  2818. * decreased by one. The member data points to the next
  2819. * element. The member index is increased by sizeof(xcb_glx_window_t)
  2820. */
  2821. void
  2822. xcb_glx_window_next (xcb_glx_window_iterator_t *i);
  2823. /**
  2824. * Return the iterator pointing to the last element
  2825. * @param i An xcb_glx_window_iterator_t
  2826. * @return The iterator pointing to the last element
  2827. *
  2828. * Set the current element in the iterator to the last element.
  2829. * The member rem is set to 0. The member data points to the
  2830. * last element.
  2831. */
  2832. xcb_generic_iterator_t
  2833. xcb_glx_window_end (xcb_glx_window_iterator_t i);
  2834. /**
  2835. * Get the next element of the iterator
  2836. * @param i Pointer to a xcb_glx_fbconfig_iterator_t
  2837. *
  2838. * Get the next element in the iterator. The member rem is
  2839. * decreased by one. The member data points to the next
  2840. * element. The member index is increased by sizeof(xcb_glx_fbconfig_t)
  2841. */
  2842. void
  2843. xcb_glx_fbconfig_next (xcb_glx_fbconfig_iterator_t *i);
  2844. /**
  2845. * Return the iterator pointing to the last element
  2846. * @param i An xcb_glx_fbconfig_iterator_t
  2847. * @return The iterator pointing to the last element
  2848. *
  2849. * Set the current element in the iterator to the last element.
  2850. * The member rem is set to 0. The member data points to the
  2851. * last element.
  2852. */
  2853. xcb_generic_iterator_t
  2854. xcb_glx_fbconfig_end (xcb_glx_fbconfig_iterator_t i);
  2855. /**
  2856. * Get the next element of the iterator
  2857. * @param i Pointer to a xcb_glx_drawable_iterator_t
  2858. *
  2859. * Get the next element in the iterator. The member rem is
  2860. * decreased by one. The member data points to the next
  2861. * element. The member index is increased by sizeof(xcb_glx_drawable_t)
  2862. */
  2863. void
  2864. xcb_glx_drawable_next (xcb_glx_drawable_iterator_t *i);
  2865. /**
  2866. * Return the iterator pointing to the last element
  2867. * @param i An xcb_glx_drawable_iterator_t
  2868. * @return The iterator pointing to the last element
  2869. *
  2870. * Set the current element in the iterator to the last element.
  2871. * The member rem is set to 0. The member data points to the
  2872. * last element.
  2873. */
  2874. xcb_generic_iterator_t
  2875. xcb_glx_drawable_end (xcb_glx_drawable_iterator_t i);
  2876. /**
  2877. * Get the next element of the iterator
  2878. * @param i Pointer to a xcb_glx_float32_iterator_t
  2879. *
  2880. * Get the next element in the iterator. The member rem is
  2881. * decreased by one. The member data points to the next
  2882. * element. The member index is increased by sizeof(xcb_glx_float32_t)
  2883. */
  2884. void
  2885. xcb_glx_float32_next (xcb_glx_float32_iterator_t *i);
  2886. /**
  2887. * Return the iterator pointing to the last element
  2888. * @param i An xcb_glx_float32_iterator_t
  2889. * @return The iterator pointing to the last element
  2890. *
  2891. * Set the current element in the iterator to the last element.
  2892. * The member rem is set to 0. The member data points to the
  2893. * last element.
  2894. */
  2895. xcb_generic_iterator_t
  2896. xcb_glx_float32_end (xcb_glx_float32_iterator_t i);
  2897. /**
  2898. * Get the next element of the iterator
  2899. * @param i Pointer to a xcb_glx_float64_iterator_t
  2900. *
  2901. * Get the next element in the iterator. The member rem is
  2902. * decreased by one. The member data points to the next
  2903. * element. The member index is increased by sizeof(xcb_glx_float64_t)
  2904. */
  2905. void
  2906. xcb_glx_float64_next (xcb_glx_float64_iterator_t *i);
  2907. /**
  2908. * Return the iterator pointing to the last element
  2909. * @param i An xcb_glx_float64_iterator_t
  2910. * @return The iterator pointing to the last element
  2911. *
  2912. * Set the current element in the iterator to the last element.
  2913. * The member rem is set to 0. The member data points to the
  2914. * last element.
  2915. */
  2916. xcb_generic_iterator_t
  2917. xcb_glx_float64_end (xcb_glx_float64_iterator_t i);
  2918. /**
  2919. * Get the next element of the iterator
  2920. * @param i Pointer to a xcb_glx_bool32_iterator_t
  2921. *
  2922. * Get the next element in the iterator. The member rem is
  2923. * decreased by one. The member data points to the next
  2924. * element. The member index is increased by sizeof(xcb_glx_bool32_t)
  2925. */
  2926. void
  2927. xcb_glx_bool32_next (xcb_glx_bool32_iterator_t *i);
  2928. /**
  2929. * Return the iterator pointing to the last element
  2930. * @param i An xcb_glx_bool32_iterator_t
  2931. * @return The iterator pointing to the last element
  2932. *
  2933. * Set the current element in the iterator to the last element.
  2934. * The member rem is set to 0. The member data points to the
  2935. * last element.
  2936. */
  2937. xcb_generic_iterator_t
  2938. xcb_glx_bool32_end (xcb_glx_bool32_iterator_t i);
  2939. /**
  2940. * Get the next element of the iterator
  2941. * @param i Pointer to a xcb_glx_context_tag_iterator_t
  2942. *
  2943. * Get the next element in the iterator. The member rem is
  2944. * decreased by one. The member data points to the next
  2945. * element. The member index is increased by sizeof(xcb_glx_context_tag_t)
  2946. */
  2947. void
  2948. xcb_glx_context_tag_next (xcb_glx_context_tag_iterator_t *i);
  2949. /**
  2950. * Return the iterator pointing to the last element
  2951. * @param i An xcb_glx_context_tag_iterator_t
  2952. * @return The iterator pointing to the last element
  2953. *
  2954. * Set the current element in the iterator to the last element.
  2955. * The member rem is set to 0. The member data points to the
  2956. * last element.
  2957. */
  2958. xcb_generic_iterator_t
  2959. xcb_glx_context_tag_end (xcb_glx_context_tag_iterator_t i);
  2960. int
  2961. xcb_glx_render_sizeof (const void *_buffer,
  2962. uint32_t data_len);
  2963. /**
  2964. *
  2965. * @param c The connection
  2966. * @return A cookie
  2967. *
  2968. * Delivers a request to the X server.
  2969. *
  2970. * This form can be used only if the request will not cause
  2971. * a reply to be generated. Any returned error will be
  2972. * saved for handling by xcb_request_check().
  2973. */
  2974. xcb_void_cookie_t
  2975. xcb_glx_render_checked (xcb_connection_t *c,
  2976. xcb_glx_context_tag_t context_tag,
  2977. uint32_t data_len,
  2978. const uint8_t *data);
  2979. /**
  2980. *
  2981. * @param c The connection
  2982. * @return A cookie
  2983. *
  2984. * Delivers a request to the X server.
  2985. *
  2986. */
  2987. xcb_void_cookie_t
  2988. xcb_glx_render (xcb_connection_t *c,
  2989. xcb_glx_context_tag_t context_tag,
  2990. uint32_t data_len,
  2991. const uint8_t *data);
  2992. uint8_t *
  2993. xcb_glx_render_data (const xcb_glx_render_request_t *R);
  2994. int
  2995. xcb_glx_render_data_length (const xcb_glx_render_request_t *R);
  2996. xcb_generic_iterator_t
  2997. xcb_glx_render_data_end (const xcb_glx_render_request_t *R);
  2998. int
  2999. xcb_glx_render_large_sizeof (const void *_buffer);
  3000. /**
  3001. *
  3002. * @param c The connection
  3003. * @return A cookie
  3004. *
  3005. * Delivers a request to the X server.
  3006. *
  3007. * This form can be used only if the request will not cause
  3008. * a reply to be generated. Any returned error will be
  3009. * saved for handling by xcb_request_check().
  3010. */
  3011. xcb_void_cookie_t
  3012. xcb_glx_render_large_checked (xcb_connection_t *c,
  3013. xcb_glx_context_tag_t context_tag,
  3014. uint16_t request_num,
  3015. uint16_t request_total,
  3016. uint32_t data_len,
  3017. const uint8_t *data);
  3018. /**
  3019. *
  3020. * @param c The connection
  3021. * @return A cookie
  3022. *
  3023. * Delivers a request to the X server.
  3024. *
  3025. */
  3026. xcb_void_cookie_t
  3027. xcb_glx_render_large (xcb_connection_t *c,
  3028. xcb_glx_context_tag_t context_tag,
  3029. uint16_t request_num,
  3030. uint16_t request_total,
  3031. uint32_t data_len,
  3032. const uint8_t *data);
  3033. uint8_t *
  3034. xcb_glx_render_large_data (const xcb_glx_render_large_request_t *R);
  3035. int
  3036. xcb_glx_render_large_data_length (const xcb_glx_render_large_request_t *R);
  3037. xcb_generic_iterator_t
  3038. xcb_glx_render_large_data_end (const xcb_glx_render_large_request_t *R);
  3039. /**
  3040. *
  3041. * @param c The connection
  3042. * @return A cookie
  3043. *
  3044. * Delivers a request to the X server.
  3045. *
  3046. * This form can be used only if the request will not cause
  3047. * a reply to be generated. Any returned error will be
  3048. * saved for handling by xcb_request_check().
  3049. */
  3050. xcb_void_cookie_t
  3051. xcb_glx_create_context_checked (xcb_connection_t *c,
  3052. xcb_glx_context_t context,
  3053. xcb_visualid_t visual,
  3054. uint32_t screen,
  3055. xcb_glx_context_t share_list,
  3056. uint8_t is_direct);
  3057. /**
  3058. *
  3059. * @param c The connection
  3060. * @return A cookie
  3061. *
  3062. * Delivers a request to the X server.
  3063. *
  3064. */
  3065. xcb_void_cookie_t
  3066. xcb_glx_create_context (xcb_connection_t *c,
  3067. xcb_glx_context_t context,
  3068. xcb_visualid_t visual,
  3069. uint32_t screen,
  3070. xcb_glx_context_t share_list,
  3071. uint8_t is_direct);
  3072. /**
  3073. *
  3074. * @param c The connection
  3075. * @return A cookie
  3076. *
  3077. * Delivers a request to the X server.
  3078. *
  3079. * This form can be used only if the request will not cause
  3080. * a reply to be generated. Any returned error will be
  3081. * saved for handling by xcb_request_check().
  3082. */
  3083. xcb_void_cookie_t
  3084. xcb_glx_destroy_context_checked (xcb_connection_t *c,
  3085. xcb_glx_context_t context);
  3086. /**
  3087. *
  3088. * @param c The connection
  3089. * @return A cookie
  3090. *
  3091. * Delivers a request to the X server.
  3092. *
  3093. */
  3094. xcb_void_cookie_t
  3095. xcb_glx_destroy_context (xcb_connection_t *c,
  3096. xcb_glx_context_t context);
  3097. /**
  3098. *
  3099. * @param c The connection
  3100. * @return A cookie
  3101. *
  3102. * Delivers a request to the X server.
  3103. *
  3104. */
  3105. xcb_glx_make_current_cookie_t
  3106. xcb_glx_make_current (xcb_connection_t *c,
  3107. xcb_glx_drawable_t drawable,
  3108. xcb_glx_context_t context,
  3109. xcb_glx_context_tag_t old_context_tag);
  3110. /**
  3111. *
  3112. * @param c The connection
  3113. * @return A cookie
  3114. *
  3115. * Delivers a request to the X server.
  3116. *
  3117. * This form can be used only if the request will cause
  3118. * a reply to be generated. Any returned error will be
  3119. * placed in the event queue.
  3120. */
  3121. xcb_glx_make_current_cookie_t
  3122. xcb_glx_make_current_unchecked (xcb_connection_t *c,
  3123. xcb_glx_drawable_t drawable,
  3124. xcb_glx_context_t context,
  3125. xcb_glx_context_tag_t old_context_tag);
  3126. /**
  3127. * Return the reply
  3128. * @param c The connection
  3129. * @param cookie The cookie
  3130. * @param e The xcb_generic_error_t supplied
  3131. *
  3132. * Returns the reply of the request asked by
  3133. *
  3134. * The parameter @p e supplied to this function must be NULL if
  3135. * xcb_glx_make_current_unchecked(). is used.
  3136. * Otherwise, it stores the error if any.
  3137. *
  3138. * The returned value must be freed by the caller using free().
  3139. */
  3140. xcb_glx_make_current_reply_t *
  3141. xcb_glx_make_current_reply (xcb_connection_t *c,
  3142. xcb_glx_make_current_cookie_t cookie /**< */,
  3143. xcb_generic_error_t **e);
  3144. /**
  3145. *
  3146. * @param c The connection
  3147. * @return A cookie
  3148. *
  3149. * Delivers a request to the X server.
  3150. *
  3151. */
  3152. xcb_glx_is_direct_cookie_t
  3153. xcb_glx_is_direct (xcb_connection_t *c,
  3154. xcb_glx_context_t context);
  3155. /**
  3156. *
  3157. * @param c The connection
  3158. * @return A cookie
  3159. *
  3160. * Delivers a request to the X server.
  3161. *
  3162. * This form can be used only if the request will cause
  3163. * a reply to be generated. Any returned error will be
  3164. * placed in the event queue.
  3165. */
  3166. xcb_glx_is_direct_cookie_t
  3167. xcb_glx_is_direct_unchecked (xcb_connection_t *c,
  3168. xcb_glx_context_t context);
  3169. /**
  3170. * Return the reply
  3171. * @param c The connection
  3172. * @param cookie The cookie
  3173. * @param e The xcb_generic_error_t supplied
  3174. *
  3175. * Returns the reply of the request asked by
  3176. *
  3177. * The parameter @p e supplied to this function must be NULL if
  3178. * xcb_glx_is_direct_unchecked(). is used.
  3179. * Otherwise, it stores the error if any.
  3180. *
  3181. * The returned value must be freed by the caller using free().
  3182. */
  3183. xcb_glx_is_direct_reply_t *
  3184. xcb_glx_is_direct_reply (xcb_connection_t *c,
  3185. xcb_glx_is_direct_cookie_t cookie /**< */,
  3186. xcb_generic_error_t **e);
  3187. /**
  3188. *
  3189. * @param c The connection
  3190. * @return A cookie
  3191. *
  3192. * Delivers a request to the X server.
  3193. *
  3194. */
  3195. xcb_glx_query_version_cookie_t
  3196. xcb_glx_query_version (xcb_connection_t *c,
  3197. uint32_t major_version,
  3198. uint32_t minor_version);
  3199. /**
  3200. *
  3201. * @param c The connection
  3202. * @return A cookie
  3203. *
  3204. * Delivers a request to the X server.
  3205. *
  3206. * This form can be used only if the request will cause
  3207. * a reply to be generated. Any returned error will be
  3208. * placed in the event queue.
  3209. */
  3210. xcb_glx_query_version_cookie_t
  3211. xcb_glx_query_version_unchecked (xcb_connection_t *c,
  3212. uint32_t major_version,
  3213. uint32_t minor_version);
  3214. /**
  3215. * Return the reply
  3216. * @param c The connection
  3217. * @param cookie The cookie
  3218. * @param e The xcb_generic_error_t supplied
  3219. *
  3220. * Returns the reply of the request asked by
  3221. *
  3222. * The parameter @p e supplied to this function must be NULL if
  3223. * xcb_glx_query_version_unchecked(). is used.
  3224. * Otherwise, it stores the error if any.
  3225. *
  3226. * The returned value must be freed by the caller using free().
  3227. */
  3228. xcb_glx_query_version_reply_t *
  3229. xcb_glx_query_version_reply (xcb_connection_t *c,
  3230. xcb_glx_query_version_cookie_t cookie /**< */,
  3231. xcb_generic_error_t **e);
  3232. /**
  3233. *
  3234. * @param c The connection
  3235. * @return A cookie
  3236. *
  3237. * Delivers a request to the X server.
  3238. *
  3239. * This form can be used only if the request will not cause
  3240. * a reply to be generated. Any returned error will be
  3241. * saved for handling by xcb_request_check().
  3242. */
  3243. xcb_void_cookie_t
  3244. xcb_glx_wait_gl_checked (xcb_connection_t *c,
  3245. xcb_glx_context_tag_t context_tag);
  3246. /**
  3247. *
  3248. * @param c The connection
  3249. * @return A cookie
  3250. *
  3251. * Delivers a request to the X server.
  3252. *
  3253. */
  3254. xcb_void_cookie_t
  3255. xcb_glx_wait_gl (xcb_connection_t *c,
  3256. xcb_glx_context_tag_t context_tag);
  3257. /**
  3258. *
  3259. * @param c The connection
  3260. * @return A cookie
  3261. *
  3262. * Delivers a request to the X server.
  3263. *
  3264. * This form can be used only if the request will not cause
  3265. * a reply to be generated. Any returned error will be
  3266. * saved for handling by xcb_request_check().
  3267. */
  3268. xcb_void_cookie_t
  3269. xcb_glx_wait_x_checked (xcb_connection_t *c,
  3270. xcb_glx_context_tag_t context_tag);
  3271. /**
  3272. *
  3273. * @param c The connection
  3274. * @return A cookie
  3275. *
  3276. * Delivers a request to the X server.
  3277. *
  3278. */
  3279. xcb_void_cookie_t
  3280. xcb_glx_wait_x (xcb_connection_t *c,
  3281. xcb_glx_context_tag_t context_tag);
  3282. /**
  3283. *
  3284. * @param c The connection
  3285. * @return A cookie
  3286. *
  3287. * Delivers a request to the X server.
  3288. *
  3289. * This form can be used only if the request will not cause
  3290. * a reply to be generated. Any returned error will be
  3291. * saved for handling by xcb_request_check().
  3292. */
  3293. xcb_void_cookie_t
  3294. xcb_glx_copy_context_checked (xcb_connection_t *c,
  3295. xcb_glx_context_t src,
  3296. xcb_glx_context_t dest,
  3297. uint32_t mask,
  3298. xcb_glx_context_tag_t src_context_tag);
  3299. /**
  3300. *
  3301. * @param c The connection
  3302. * @return A cookie
  3303. *
  3304. * Delivers a request to the X server.
  3305. *
  3306. */
  3307. xcb_void_cookie_t
  3308. xcb_glx_copy_context (xcb_connection_t *c,
  3309. xcb_glx_context_t src,
  3310. xcb_glx_context_t dest,
  3311. uint32_t mask,
  3312. xcb_glx_context_tag_t src_context_tag);
  3313. /**
  3314. *
  3315. * @param c The connection
  3316. * @return A cookie
  3317. *
  3318. * Delivers a request to the X server.
  3319. *
  3320. * This form can be used only if the request will not cause
  3321. * a reply to be generated. Any returned error will be
  3322. * saved for handling by xcb_request_check().
  3323. */
  3324. xcb_void_cookie_t
  3325. xcb_glx_swap_buffers_checked (xcb_connection_t *c,
  3326. xcb_glx_context_tag_t context_tag,
  3327. xcb_glx_drawable_t drawable);
  3328. /**
  3329. *
  3330. * @param c The connection
  3331. * @return A cookie
  3332. *
  3333. * Delivers a request to the X server.
  3334. *
  3335. */
  3336. xcb_void_cookie_t
  3337. xcb_glx_swap_buffers (xcb_connection_t *c,
  3338. xcb_glx_context_tag_t context_tag,
  3339. xcb_glx_drawable_t drawable);
  3340. /**
  3341. *
  3342. * @param c The connection
  3343. * @return A cookie
  3344. *
  3345. * Delivers a request to the X server.
  3346. *
  3347. * This form can be used only if the request will not cause
  3348. * a reply to be generated. Any returned error will be
  3349. * saved for handling by xcb_request_check().
  3350. */
  3351. xcb_void_cookie_t
  3352. xcb_glx_use_x_font_checked (xcb_connection_t *c,
  3353. xcb_glx_context_tag_t context_tag,
  3354. xcb_font_t font,
  3355. uint32_t first,
  3356. uint32_t count,
  3357. uint32_t list_base);
  3358. /**
  3359. *
  3360. * @param c The connection
  3361. * @return A cookie
  3362. *
  3363. * Delivers a request to the X server.
  3364. *
  3365. */
  3366. xcb_void_cookie_t
  3367. xcb_glx_use_x_font (xcb_connection_t *c,
  3368. xcb_glx_context_tag_t context_tag,
  3369. xcb_font_t font,
  3370. uint32_t first,
  3371. uint32_t count,
  3372. uint32_t list_base);
  3373. /**
  3374. *
  3375. * @param c The connection
  3376. * @return A cookie
  3377. *
  3378. * Delivers a request to the X server.
  3379. *
  3380. * This form can be used only if the request will not cause
  3381. * a reply to be generated. Any returned error will be
  3382. * saved for handling by xcb_request_check().
  3383. */
  3384. xcb_void_cookie_t
  3385. xcb_glx_create_glx_pixmap_checked (xcb_connection_t *c,
  3386. uint32_t screen,
  3387. xcb_visualid_t visual,
  3388. xcb_pixmap_t pixmap,
  3389. xcb_glx_pixmap_t glx_pixmap);
  3390. /**
  3391. *
  3392. * @param c The connection
  3393. * @return A cookie
  3394. *
  3395. * Delivers a request to the X server.
  3396. *
  3397. */
  3398. xcb_void_cookie_t
  3399. xcb_glx_create_glx_pixmap (xcb_connection_t *c,
  3400. uint32_t screen,
  3401. xcb_visualid_t visual,
  3402. xcb_pixmap_t pixmap,
  3403. xcb_glx_pixmap_t glx_pixmap);
  3404. int
  3405. xcb_glx_get_visual_configs_sizeof (const void *_buffer);
  3406. /**
  3407. *
  3408. * @param c The connection
  3409. * @return A cookie
  3410. *
  3411. * Delivers a request to the X server.
  3412. *
  3413. */
  3414. xcb_glx_get_visual_configs_cookie_t
  3415. xcb_glx_get_visual_configs (xcb_connection_t *c,
  3416. uint32_t screen);
  3417. /**
  3418. *
  3419. * @param c The connection
  3420. * @return A cookie
  3421. *
  3422. * Delivers a request to the X server.
  3423. *
  3424. * This form can be used only if the request will cause
  3425. * a reply to be generated. Any returned error will be
  3426. * placed in the event queue.
  3427. */
  3428. xcb_glx_get_visual_configs_cookie_t
  3429. xcb_glx_get_visual_configs_unchecked (xcb_connection_t *c,
  3430. uint32_t screen);
  3431. uint32_t *
  3432. xcb_glx_get_visual_configs_property_list (const xcb_glx_get_visual_configs_reply_t *R);
  3433. int
  3434. xcb_glx_get_visual_configs_property_list_length (const xcb_glx_get_visual_configs_reply_t *R);
  3435. xcb_generic_iterator_t
  3436. xcb_glx_get_visual_configs_property_list_end (const xcb_glx_get_visual_configs_reply_t *R);
  3437. /**
  3438. * Return the reply
  3439. * @param c The connection
  3440. * @param cookie The cookie
  3441. * @param e The xcb_generic_error_t supplied
  3442. *
  3443. * Returns the reply of the request asked by
  3444. *
  3445. * The parameter @p e supplied to this function must be NULL if
  3446. * xcb_glx_get_visual_configs_unchecked(). is used.
  3447. * Otherwise, it stores the error if any.
  3448. *
  3449. * The returned value must be freed by the caller using free().
  3450. */
  3451. xcb_glx_get_visual_configs_reply_t *
  3452. xcb_glx_get_visual_configs_reply (xcb_connection_t *c,
  3453. xcb_glx_get_visual_configs_cookie_t cookie /**< */,
  3454. xcb_generic_error_t **e);
  3455. /**
  3456. *
  3457. * @param c The connection
  3458. * @return A cookie
  3459. *
  3460. * Delivers a request to the X server.
  3461. *
  3462. * This form can be used only if the request will not cause
  3463. * a reply to be generated. Any returned error will be
  3464. * saved for handling by xcb_request_check().
  3465. */
  3466. xcb_void_cookie_t
  3467. xcb_glx_destroy_glx_pixmap_checked (xcb_connection_t *c,
  3468. xcb_glx_pixmap_t glx_pixmap);
  3469. /**
  3470. *
  3471. * @param c The connection
  3472. * @return A cookie
  3473. *
  3474. * Delivers a request to the X server.
  3475. *
  3476. */
  3477. xcb_void_cookie_t
  3478. xcb_glx_destroy_glx_pixmap (xcb_connection_t *c,
  3479. xcb_glx_pixmap_t glx_pixmap);
  3480. int
  3481. xcb_glx_vendor_private_sizeof (const void *_buffer,
  3482. uint32_t data_len);
  3483. /**
  3484. *
  3485. * @param c The connection
  3486. * @return A cookie
  3487. *
  3488. * Delivers a request to the X server.
  3489. *
  3490. * This form can be used only if the request will not cause
  3491. * a reply to be generated. Any returned error will be
  3492. * saved for handling by xcb_request_check().
  3493. */
  3494. xcb_void_cookie_t
  3495. xcb_glx_vendor_private_checked (xcb_connection_t *c,
  3496. uint32_t vendor_code,
  3497. xcb_glx_context_tag_t context_tag,
  3498. uint32_t data_len,
  3499. const uint8_t *data);
  3500. /**
  3501. *
  3502. * @param c The connection
  3503. * @return A cookie
  3504. *
  3505. * Delivers a request to the X server.
  3506. *
  3507. */
  3508. xcb_void_cookie_t
  3509. xcb_glx_vendor_private (xcb_connection_t *c,
  3510. uint32_t vendor_code,
  3511. xcb_glx_context_tag_t context_tag,
  3512. uint32_t data_len,
  3513. const uint8_t *data);
  3514. uint8_t *
  3515. xcb_glx_vendor_private_data (const xcb_glx_vendor_private_request_t *R);
  3516. int
  3517. xcb_glx_vendor_private_data_length (const xcb_glx_vendor_private_request_t *R);
  3518. xcb_generic_iterator_t
  3519. xcb_glx_vendor_private_data_end (const xcb_glx_vendor_private_request_t *R);
  3520. int
  3521. xcb_glx_vendor_private_with_reply_sizeof (const void *_buffer,
  3522. uint32_t data_len);
  3523. /**
  3524. *
  3525. * @param c The connection
  3526. * @return A cookie
  3527. *
  3528. * Delivers a request to the X server.
  3529. *
  3530. */
  3531. xcb_glx_vendor_private_with_reply_cookie_t
  3532. xcb_glx_vendor_private_with_reply (xcb_connection_t *c,
  3533. uint32_t vendor_code,
  3534. xcb_glx_context_tag_t context_tag,
  3535. uint32_t data_len,
  3536. const uint8_t *data);
  3537. /**
  3538. *
  3539. * @param c The connection
  3540. * @return A cookie
  3541. *
  3542. * Delivers a request to the X server.
  3543. *
  3544. * This form can be used only if the request will cause
  3545. * a reply to be generated. Any returned error will be
  3546. * placed in the event queue.
  3547. */
  3548. xcb_glx_vendor_private_with_reply_cookie_t
  3549. xcb_glx_vendor_private_with_reply_unchecked (xcb_connection_t *c,
  3550. uint32_t vendor_code,
  3551. xcb_glx_context_tag_t context_tag,
  3552. uint32_t data_len,
  3553. const uint8_t *data);
  3554. uint8_t *
  3555. xcb_glx_vendor_private_with_reply_data_2 (const xcb_glx_vendor_private_with_reply_reply_t *R);
  3556. int
  3557. xcb_glx_vendor_private_with_reply_data_2_length (const xcb_glx_vendor_private_with_reply_reply_t *R);
  3558. xcb_generic_iterator_t
  3559. xcb_glx_vendor_private_with_reply_data_2_end (const xcb_glx_vendor_private_with_reply_reply_t *R);
  3560. /**
  3561. * Return the reply
  3562. * @param c The connection
  3563. * @param cookie The cookie
  3564. * @param e The xcb_generic_error_t supplied
  3565. *
  3566. * Returns the reply of the request asked by
  3567. *
  3568. * The parameter @p e supplied to this function must be NULL if
  3569. * xcb_glx_vendor_private_with_reply_unchecked(). is used.
  3570. * Otherwise, it stores the error if any.
  3571. *
  3572. * The returned value must be freed by the caller using free().
  3573. */
  3574. xcb_glx_vendor_private_with_reply_reply_t *
  3575. xcb_glx_vendor_private_with_reply_reply (xcb_connection_t *c,
  3576. xcb_glx_vendor_private_with_reply_cookie_t cookie /**< */,
  3577. xcb_generic_error_t **e);
  3578. /**
  3579. *
  3580. * @param c The connection
  3581. * @return A cookie
  3582. *
  3583. * Delivers a request to the X server.
  3584. *
  3585. */
  3586. xcb_glx_query_extensions_string_cookie_t
  3587. xcb_glx_query_extensions_string (xcb_connection_t *c,
  3588. uint32_t screen);
  3589. /**
  3590. *
  3591. * @param c The connection
  3592. * @return A cookie
  3593. *
  3594. * Delivers a request to the X server.
  3595. *
  3596. * This form can be used only if the request will cause
  3597. * a reply to be generated. Any returned error will be
  3598. * placed in the event queue.
  3599. */
  3600. xcb_glx_query_extensions_string_cookie_t
  3601. xcb_glx_query_extensions_string_unchecked (xcb_connection_t *c,
  3602. uint32_t screen);
  3603. /**
  3604. * Return the reply
  3605. * @param c The connection
  3606. * @param cookie The cookie
  3607. * @param e The xcb_generic_error_t supplied
  3608. *
  3609. * Returns the reply of the request asked by
  3610. *
  3611. * The parameter @p e supplied to this function must be NULL if
  3612. * xcb_glx_query_extensions_string_unchecked(). is used.
  3613. * Otherwise, it stores the error if any.
  3614. *
  3615. * The returned value must be freed by the caller using free().
  3616. */
  3617. xcb_glx_query_extensions_string_reply_t *
  3618. xcb_glx_query_extensions_string_reply (xcb_connection_t *c,
  3619. xcb_glx_query_extensions_string_cookie_t cookie /**< */,
  3620. xcb_generic_error_t **e);
  3621. int
  3622. xcb_glx_query_server_string_sizeof (const void *_buffer);
  3623. /**
  3624. *
  3625. * @param c The connection
  3626. * @return A cookie
  3627. *
  3628. * Delivers a request to the X server.
  3629. *
  3630. */
  3631. xcb_glx_query_server_string_cookie_t
  3632. xcb_glx_query_server_string (xcb_connection_t *c,
  3633. uint32_t screen,
  3634. uint32_t name);
  3635. /**
  3636. *
  3637. * @param c The connection
  3638. * @return A cookie
  3639. *
  3640. * Delivers a request to the X server.
  3641. *
  3642. * This form can be used only if the request will cause
  3643. * a reply to be generated. Any returned error will be
  3644. * placed in the event queue.
  3645. */
  3646. xcb_glx_query_server_string_cookie_t
  3647. xcb_glx_query_server_string_unchecked (xcb_connection_t *c,
  3648. uint32_t screen,
  3649. uint32_t name);
  3650. char *
  3651. xcb_glx_query_server_string_string (const xcb_glx_query_server_string_reply_t *R);
  3652. int
  3653. xcb_glx_query_server_string_string_length (const xcb_glx_query_server_string_reply_t *R);
  3654. xcb_generic_iterator_t
  3655. xcb_glx_query_server_string_string_end (const xcb_glx_query_server_string_reply_t *R);
  3656. /**
  3657. * Return the reply
  3658. * @param c The connection
  3659. * @param cookie The cookie
  3660. * @param e The xcb_generic_error_t supplied
  3661. *
  3662. * Returns the reply of the request asked by
  3663. *
  3664. * The parameter @p e supplied to this function must be NULL if
  3665. * xcb_glx_query_server_string_unchecked(). is used.
  3666. * Otherwise, it stores the error if any.
  3667. *
  3668. * The returned value must be freed by the caller using free().
  3669. */
  3670. xcb_glx_query_server_string_reply_t *
  3671. xcb_glx_query_server_string_reply (xcb_connection_t *c,
  3672. xcb_glx_query_server_string_cookie_t cookie /**< */,
  3673. xcb_generic_error_t **e);
  3674. int
  3675. xcb_glx_client_info_sizeof (const void *_buffer);
  3676. /**
  3677. *
  3678. * @param c The connection
  3679. * @return A cookie
  3680. *
  3681. * Delivers a request to the X server.
  3682. *
  3683. * This form can be used only if the request will not cause
  3684. * a reply to be generated. Any returned error will be
  3685. * saved for handling by xcb_request_check().
  3686. */
  3687. xcb_void_cookie_t
  3688. xcb_glx_client_info_checked (xcb_connection_t *c,
  3689. uint32_t major_version,
  3690. uint32_t minor_version,
  3691. uint32_t str_len,
  3692. const char *string);
  3693. /**
  3694. *
  3695. * @param c The connection
  3696. * @return A cookie
  3697. *
  3698. * Delivers a request to the X server.
  3699. *
  3700. */
  3701. xcb_void_cookie_t
  3702. xcb_glx_client_info (xcb_connection_t *c,
  3703. uint32_t major_version,
  3704. uint32_t minor_version,
  3705. uint32_t str_len,
  3706. const char *string);
  3707. char *
  3708. xcb_glx_client_info_string (const xcb_glx_client_info_request_t *R);
  3709. int
  3710. xcb_glx_client_info_string_length (const xcb_glx_client_info_request_t *R);
  3711. xcb_generic_iterator_t
  3712. xcb_glx_client_info_string_end (const xcb_glx_client_info_request_t *R);
  3713. int
  3714. xcb_glx_get_fb_configs_sizeof (const void *_buffer);
  3715. /**
  3716. *
  3717. * @param c The connection
  3718. * @return A cookie
  3719. *
  3720. * Delivers a request to the X server.
  3721. *
  3722. */
  3723. xcb_glx_get_fb_configs_cookie_t
  3724. xcb_glx_get_fb_configs (xcb_connection_t *c,
  3725. uint32_t screen);
  3726. /**
  3727. *
  3728. * @param c The connection
  3729. * @return A cookie
  3730. *
  3731. * Delivers a request to the X server.
  3732. *
  3733. * This form can be used only if the request will cause
  3734. * a reply to be generated. Any returned error will be
  3735. * placed in the event queue.
  3736. */
  3737. xcb_glx_get_fb_configs_cookie_t
  3738. xcb_glx_get_fb_configs_unchecked (xcb_connection_t *c,
  3739. uint32_t screen);
  3740. uint32_t *
  3741. xcb_glx_get_fb_configs_property_list (const xcb_glx_get_fb_configs_reply_t *R);
  3742. int
  3743. xcb_glx_get_fb_configs_property_list_length (const xcb_glx_get_fb_configs_reply_t *R);
  3744. xcb_generic_iterator_t
  3745. xcb_glx_get_fb_configs_property_list_end (const xcb_glx_get_fb_configs_reply_t *R);
  3746. /**
  3747. * Return the reply
  3748. * @param c The connection
  3749. * @param cookie The cookie
  3750. * @param e The xcb_generic_error_t supplied
  3751. *
  3752. * Returns the reply of the request asked by
  3753. *
  3754. * The parameter @p e supplied to this function must be NULL if
  3755. * xcb_glx_get_fb_configs_unchecked(). is used.
  3756. * Otherwise, it stores the error if any.
  3757. *
  3758. * The returned value must be freed by the caller using free().
  3759. */
  3760. xcb_glx_get_fb_configs_reply_t *
  3761. xcb_glx_get_fb_configs_reply (xcb_connection_t *c,
  3762. xcb_glx_get_fb_configs_cookie_t cookie /**< */,
  3763. xcb_generic_error_t **e);
  3764. int
  3765. xcb_glx_create_pixmap_sizeof (const void *_buffer);
  3766. /**
  3767. *
  3768. * @param c The connection
  3769. * @return A cookie
  3770. *
  3771. * Delivers a request to the X server.
  3772. *
  3773. * This form can be used only if the request will not cause
  3774. * a reply to be generated. Any returned error will be
  3775. * saved for handling by xcb_request_check().
  3776. */
  3777. xcb_void_cookie_t
  3778. xcb_glx_create_pixmap_checked (xcb_connection_t *c,
  3779. uint32_t screen,
  3780. xcb_glx_fbconfig_t fbconfig,
  3781. xcb_pixmap_t pixmap,
  3782. xcb_glx_pixmap_t glx_pixmap,
  3783. uint32_t num_attribs,
  3784. const uint32_t *attribs);
  3785. /**
  3786. *
  3787. * @param c The connection
  3788. * @return A cookie
  3789. *
  3790. * Delivers a request to the X server.
  3791. *
  3792. */
  3793. xcb_void_cookie_t
  3794. xcb_glx_create_pixmap (xcb_connection_t *c,
  3795. uint32_t screen,
  3796. xcb_glx_fbconfig_t fbconfig,
  3797. xcb_pixmap_t pixmap,
  3798. xcb_glx_pixmap_t glx_pixmap,
  3799. uint32_t num_attribs,
  3800. const uint32_t *attribs);
  3801. uint32_t *
  3802. xcb_glx_create_pixmap_attribs (const xcb_glx_create_pixmap_request_t *R);
  3803. int
  3804. xcb_glx_create_pixmap_attribs_length (const xcb_glx_create_pixmap_request_t *R);
  3805. xcb_generic_iterator_t
  3806. xcb_glx_create_pixmap_attribs_end (const xcb_glx_create_pixmap_request_t *R);
  3807. /**
  3808. *
  3809. * @param c The connection
  3810. * @return A cookie
  3811. *
  3812. * Delivers a request to the X server.
  3813. *
  3814. * This form can be used only if the request will not cause
  3815. * a reply to be generated. Any returned error will be
  3816. * saved for handling by xcb_request_check().
  3817. */
  3818. xcb_void_cookie_t
  3819. xcb_glx_destroy_pixmap_checked (xcb_connection_t *c,
  3820. xcb_glx_pixmap_t glx_pixmap);
  3821. /**
  3822. *
  3823. * @param c The connection
  3824. * @return A cookie
  3825. *
  3826. * Delivers a request to the X server.
  3827. *
  3828. */
  3829. xcb_void_cookie_t
  3830. xcb_glx_destroy_pixmap (xcb_connection_t *c,
  3831. xcb_glx_pixmap_t glx_pixmap);
  3832. /**
  3833. *
  3834. * @param c The connection
  3835. * @return A cookie
  3836. *
  3837. * Delivers a request to the X server.
  3838. *
  3839. * This form can be used only if the request will not cause
  3840. * a reply to be generated. Any returned error will be
  3841. * saved for handling by xcb_request_check().
  3842. */
  3843. xcb_void_cookie_t
  3844. xcb_glx_create_new_context_checked (xcb_connection_t *c,
  3845. xcb_glx_context_t context,
  3846. xcb_glx_fbconfig_t fbconfig,
  3847. uint32_t screen,
  3848. uint32_t render_type,
  3849. xcb_glx_context_t share_list,
  3850. uint8_t is_direct);
  3851. /**
  3852. *
  3853. * @param c The connection
  3854. * @return A cookie
  3855. *
  3856. * Delivers a request to the X server.
  3857. *
  3858. */
  3859. xcb_void_cookie_t
  3860. xcb_glx_create_new_context (xcb_connection_t *c,
  3861. xcb_glx_context_t context,
  3862. xcb_glx_fbconfig_t fbconfig,
  3863. uint32_t screen,
  3864. uint32_t render_type,
  3865. xcb_glx_context_t share_list,
  3866. uint8_t is_direct);
  3867. int
  3868. xcb_glx_query_context_sizeof (const void *_buffer);
  3869. /**
  3870. *
  3871. * @param c The connection
  3872. * @return A cookie
  3873. *
  3874. * Delivers a request to the X server.
  3875. *
  3876. */
  3877. xcb_glx_query_context_cookie_t
  3878. xcb_glx_query_context (xcb_connection_t *c,
  3879. xcb_glx_context_t context);
  3880. /**
  3881. *
  3882. * @param c The connection
  3883. * @return A cookie
  3884. *
  3885. * Delivers a request to the X server.
  3886. *
  3887. * This form can be used only if the request will cause
  3888. * a reply to be generated. Any returned error will be
  3889. * placed in the event queue.
  3890. */
  3891. xcb_glx_query_context_cookie_t
  3892. xcb_glx_query_context_unchecked (xcb_connection_t *c,
  3893. xcb_glx_context_t context);
  3894. uint32_t *
  3895. xcb_glx_query_context_attribs (const xcb_glx_query_context_reply_t *R);
  3896. int
  3897. xcb_glx_query_context_attribs_length (const xcb_glx_query_context_reply_t *R);
  3898. xcb_generic_iterator_t
  3899. xcb_glx_query_context_attribs_end (const xcb_glx_query_context_reply_t *R);
  3900. /**
  3901. * Return the reply
  3902. * @param c The connection
  3903. * @param cookie The cookie
  3904. * @param e The xcb_generic_error_t supplied
  3905. *
  3906. * Returns the reply of the request asked by
  3907. *
  3908. * The parameter @p e supplied to this function must be NULL if
  3909. * xcb_glx_query_context_unchecked(). is used.
  3910. * Otherwise, it stores the error if any.
  3911. *
  3912. * The returned value must be freed by the caller using free().
  3913. */
  3914. xcb_glx_query_context_reply_t *
  3915. xcb_glx_query_context_reply (xcb_connection_t *c,
  3916. xcb_glx_query_context_cookie_t cookie /**< */,
  3917. xcb_generic_error_t **e);
  3918. /**
  3919. *
  3920. * @param c The connection
  3921. * @return A cookie
  3922. *
  3923. * Delivers a request to the X server.
  3924. *
  3925. */
  3926. xcb_glx_make_context_current_cookie_t
  3927. xcb_glx_make_context_current (xcb_connection_t *c,
  3928. xcb_glx_context_tag_t old_context_tag,
  3929. xcb_glx_drawable_t drawable,
  3930. xcb_glx_drawable_t read_drawable,
  3931. xcb_glx_context_t context);
  3932. /**
  3933. *
  3934. * @param c The connection
  3935. * @return A cookie
  3936. *
  3937. * Delivers a request to the X server.
  3938. *
  3939. * This form can be used only if the request will cause
  3940. * a reply to be generated. Any returned error will be
  3941. * placed in the event queue.
  3942. */
  3943. xcb_glx_make_context_current_cookie_t
  3944. xcb_glx_make_context_current_unchecked (xcb_connection_t *c,
  3945. xcb_glx_context_tag_t old_context_tag,
  3946. xcb_glx_drawable_t drawable,
  3947. xcb_glx_drawable_t read_drawable,
  3948. xcb_glx_context_t context);
  3949. /**
  3950. * Return the reply
  3951. * @param c The connection
  3952. * @param cookie The cookie
  3953. * @param e The xcb_generic_error_t supplied
  3954. *
  3955. * Returns the reply of the request asked by
  3956. *
  3957. * The parameter @p e supplied to this function must be NULL if
  3958. * xcb_glx_make_context_current_unchecked(). is used.
  3959. * Otherwise, it stores the error if any.
  3960. *
  3961. * The returned value must be freed by the caller using free().
  3962. */
  3963. xcb_glx_make_context_current_reply_t *
  3964. xcb_glx_make_context_current_reply (xcb_connection_t *c,
  3965. xcb_glx_make_context_current_cookie_t cookie /**< */,
  3966. xcb_generic_error_t **e);
  3967. int
  3968. xcb_glx_create_pbuffer_sizeof (const void *_buffer);
  3969. /**
  3970. *
  3971. * @param c The connection
  3972. * @return A cookie
  3973. *
  3974. * Delivers a request to the X server.
  3975. *
  3976. * This form can be used only if the request will not cause
  3977. * a reply to be generated. Any returned error will be
  3978. * saved for handling by xcb_request_check().
  3979. */
  3980. xcb_void_cookie_t
  3981. xcb_glx_create_pbuffer_checked (xcb_connection_t *c,
  3982. uint32_t screen,
  3983. xcb_glx_fbconfig_t fbconfig,
  3984. xcb_glx_pbuffer_t pbuffer,
  3985. uint32_t num_attribs,
  3986. const uint32_t *attribs);
  3987. /**
  3988. *
  3989. * @param c The connection
  3990. * @return A cookie
  3991. *
  3992. * Delivers a request to the X server.
  3993. *
  3994. */
  3995. xcb_void_cookie_t
  3996. xcb_glx_create_pbuffer (xcb_connection_t *c,
  3997. uint32_t screen,
  3998. xcb_glx_fbconfig_t fbconfig,
  3999. xcb_glx_pbuffer_t pbuffer,
  4000. uint32_t num_attribs,
  4001. const uint32_t *attribs);
  4002. uint32_t *
  4003. xcb_glx_create_pbuffer_attribs (const xcb_glx_create_pbuffer_request_t *R);
  4004. int
  4005. xcb_glx_create_pbuffer_attribs_length (const xcb_glx_create_pbuffer_request_t *R);
  4006. xcb_generic_iterator_t
  4007. xcb_glx_create_pbuffer_attribs_end (const xcb_glx_create_pbuffer_request_t *R);
  4008. /**
  4009. *
  4010. * @param c The connection
  4011. * @return A cookie
  4012. *
  4013. * Delivers a request to the X server.
  4014. *
  4015. * This form can be used only if the request will not cause
  4016. * a reply to be generated. Any returned error will be
  4017. * saved for handling by xcb_request_check().
  4018. */
  4019. xcb_void_cookie_t
  4020. xcb_glx_destroy_pbuffer_checked (xcb_connection_t *c,
  4021. xcb_glx_pbuffer_t pbuffer);
  4022. /**
  4023. *
  4024. * @param c The connection
  4025. * @return A cookie
  4026. *
  4027. * Delivers a request to the X server.
  4028. *
  4029. */
  4030. xcb_void_cookie_t
  4031. xcb_glx_destroy_pbuffer (xcb_connection_t *c,
  4032. xcb_glx_pbuffer_t pbuffer);
  4033. int
  4034. xcb_glx_get_drawable_attributes_sizeof (const void *_buffer);
  4035. /**
  4036. *
  4037. * @param c The connection
  4038. * @return A cookie
  4039. *
  4040. * Delivers a request to the X server.
  4041. *
  4042. */
  4043. xcb_glx_get_drawable_attributes_cookie_t
  4044. xcb_glx_get_drawable_attributes (xcb_connection_t *c,
  4045. xcb_glx_drawable_t drawable);
  4046. /**
  4047. *
  4048. * @param c The connection
  4049. * @return A cookie
  4050. *
  4051. * Delivers a request to the X server.
  4052. *
  4053. * This form can be used only if the request will cause
  4054. * a reply to be generated. Any returned error will be
  4055. * placed in the event queue.
  4056. */
  4057. xcb_glx_get_drawable_attributes_cookie_t
  4058. xcb_glx_get_drawable_attributes_unchecked (xcb_connection_t *c,
  4059. xcb_glx_drawable_t drawable);
  4060. uint32_t *
  4061. xcb_glx_get_drawable_attributes_attribs (const xcb_glx_get_drawable_attributes_reply_t *R);
  4062. int
  4063. xcb_glx_get_drawable_attributes_attribs_length (const xcb_glx_get_drawable_attributes_reply_t *R);
  4064. xcb_generic_iterator_t
  4065. xcb_glx_get_drawable_attributes_attribs_end (const xcb_glx_get_drawable_attributes_reply_t *R);
  4066. /**
  4067. * Return the reply
  4068. * @param c The connection
  4069. * @param cookie The cookie
  4070. * @param e The xcb_generic_error_t supplied
  4071. *
  4072. * Returns the reply of the request asked by
  4073. *
  4074. * The parameter @p e supplied to this function must be NULL if
  4075. * xcb_glx_get_drawable_attributes_unchecked(). is used.
  4076. * Otherwise, it stores the error if any.
  4077. *
  4078. * The returned value must be freed by the caller using free().
  4079. */
  4080. xcb_glx_get_drawable_attributes_reply_t *
  4081. xcb_glx_get_drawable_attributes_reply (xcb_connection_t *c,
  4082. xcb_glx_get_drawable_attributes_cookie_t cookie /**< */,
  4083. xcb_generic_error_t **e);
  4084. int
  4085. xcb_glx_change_drawable_attributes_sizeof (const void *_buffer);
  4086. /**
  4087. *
  4088. * @param c The connection
  4089. * @return A cookie
  4090. *
  4091. * Delivers a request to the X server.
  4092. *
  4093. * This form can be used only if the request will not cause
  4094. * a reply to be generated. Any returned error will be
  4095. * saved for handling by xcb_request_check().
  4096. */
  4097. xcb_void_cookie_t
  4098. xcb_glx_change_drawable_attributes_checked (xcb_connection_t *c,
  4099. xcb_glx_drawable_t drawable,
  4100. uint32_t num_attribs,
  4101. const uint32_t *attribs);
  4102. /**
  4103. *
  4104. * @param c The connection
  4105. * @return A cookie
  4106. *
  4107. * Delivers a request to the X server.
  4108. *
  4109. */
  4110. xcb_void_cookie_t
  4111. xcb_glx_change_drawable_attributes (xcb_connection_t *c,
  4112. xcb_glx_drawable_t drawable,
  4113. uint32_t num_attribs,
  4114. const uint32_t *attribs);
  4115. uint32_t *
  4116. xcb_glx_change_drawable_attributes_attribs (const xcb_glx_change_drawable_attributes_request_t *R);
  4117. int
  4118. xcb_glx_change_drawable_attributes_attribs_length (const xcb_glx_change_drawable_attributes_request_t *R);
  4119. xcb_generic_iterator_t
  4120. xcb_glx_change_drawable_attributes_attribs_end (const xcb_glx_change_drawable_attributes_request_t *R);
  4121. int
  4122. xcb_glx_create_window_sizeof (const void *_buffer);
  4123. /**
  4124. *
  4125. * @param c The connection
  4126. * @return A cookie
  4127. *
  4128. * Delivers a request to the X server.
  4129. *
  4130. * This form can be used only if the request will not cause
  4131. * a reply to be generated. Any returned error will be
  4132. * saved for handling by xcb_request_check().
  4133. */
  4134. xcb_void_cookie_t
  4135. xcb_glx_create_window_checked (xcb_connection_t *c,
  4136. uint32_t screen,
  4137. xcb_glx_fbconfig_t fbconfig,
  4138. xcb_window_t window,
  4139. xcb_glx_window_t glx_window,
  4140. uint32_t num_attribs,
  4141. const uint32_t *attribs);
  4142. /**
  4143. *
  4144. * @param c The connection
  4145. * @return A cookie
  4146. *
  4147. * Delivers a request to the X server.
  4148. *
  4149. */
  4150. xcb_void_cookie_t
  4151. xcb_glx_create_window (xcb_connection_t *c,
  4152. uint32_t screen,
  4153. xcb_glx_fbconfig_t fbconfig,
  4154. xcb_window_t window,
  4155. xcb_glx_window_t glx_window,
  4156. uint32_t num_attribs,
  4157. const uint32_t *attribs);
  4158. uint32_t *
  4159. xcb_glx_create_window_attribs (const xcb_glx_create_window_request_t *R);
  4160. int
  4161. xcb_glx_create_window_attribs_length (const xcb_glx_create_window_request_t *R);
  4162. xcb_generic_iterator_t
  4163. xcb_glx_create_window_attribs_end (const xcb_glx_create_window_request_t *R);
  4164. /**
  4165. *
  4166. * @param c The connection
  4167. * @return A cookie
  4168. *
  4169. * Delivers a request to the X server.
  4170. *
  4171. * This form can be used only if the request will not cause
  4172. * a reply to be generated. Any returned error will be
  4173. * saved for handling by xcb_request_check().
  4174. */
  4175. xcb_void_cookie_t
  4176. xcb_glx_delete_window_checked (xcb_connection_t *c,
  4177. xcb_glx_window_t glxwindow);
  4178. /**
  4179. *
  4180. * @param c The connection
  4181. * @return A cookie
  4182. *
  4183. * Delivers a request to the X server.
  4184. *
  4185. */
  4186. xcb_void_cookie_t
  4187. xcb_glx_delete_window (xcb_connection_t *c,
  4188. xcb_glx_window_t glxwindow);
  4189. int
  4190. xcb_glx_set_client_info_arb_sizeof (const void *_buffer);
  4191. /**
  4192. *
  4193. * @param c The connection
  4194. * @return A cookie
  4195. *
  4196. * Delivers a request to the X server.
  4197. *
  4198. * This form can be used only if the request will not cause
  4199. * a reply to be generated. Any returned error will be
  4200. * saved for handling by xcb_request_check().
  4201. */
  4202. xcb_void_cookie_t
  4203. xcb_glx_set_client_info_arb_checked (xcb_connection_t *c,
  4204. uint32_t major_version,
  4205. uint32_t minor_version,
  4206. uint32_t num_versions,
  4207. uint32_t gl_str_len,
  4208. uint32_t glx_str_len,
  4209. const uint32_t *gl_versions,
  4210. const char *gl_extension_string,
  4211. const char *glx_extension_string);
  4212. /**
  4213. *
  4214. * @param c The connection
  4215. * @return A cookie
  4216. *
  4217. * Delivers a request to the X server.
  4218. *
  4219. */
  4220. xcb_void_cookie_t
  4221. xcb_glx_set_client_info_arb (xcb_connection_t *c,
  4222. uint32_t major_version,
  4223. uint32_t minor_version,
  4224. uint32_t num_versions,
  4225. uint32_t gl_str_len,
  4226. uint32_t glx_str_len,
  4227. const uint32_t *gl_versions,
  4228. const char *gl_extension_string,
  4229. const char *glx_extension_string);
  4230. uint32_t *
  4231. xcb_glx_set_client_info_arb_gl_versions (const xcb_glx_set_client_info_arb_request_t *R);
  4232. int
  4233. xcb_glx_set_client_info_arb_gl_versions_length (const xcb_glx_set_client_info_arb_request_t *R);
  4234. xcb_generic_iterator_t
  4235. xcb_glx_set_client_info_arb_gl_versions_end (const xcb_glx_set_client_info_arb_request_t *R);
  4236. char *
  4237. xcb_glx_set_client_info_arb_gl_extension_string (const xcb_glx_set_client_info_arb_request_t *R);
  4238. int
  4239. xcb_glx_set_client_info_arb_gl_extension_string_length (const xcb_glx_set_client_info_arb_request_t *R);
  4240. xcb_generic_iterator_t
  4241. xcb_glx_set_client_info_arb_gl_extension_string_end (const xcb_glx_set_client_info_arb_request_t *R);
  4242. char *
  4243. xcb_glx_set_client_info_arb_glx_extension_string (const xcb_glx_set_client_info_arb_request_t *R);
  4244. int
  4245. xcb_glx_set_client_info_arb_glx_extension_string_length (const xcb_glx_set_client_info_arb_request_t *R);
  4246. xcb_generic_iterator_t
  4247. xcb_glx_set_client_info_arb_glx_extension_string_end (const xcb_glx_set_client_info_arb_request_t *R);
  4248. int
  4249. xcb_glx_create_context_attribs_arb_sizeof (const void *_buffer);
  4250. /**
  4251. *
  4252. * @param c The connection
  4253. * @return A cookie
  4254. *
  4255. * Delivers a request to the X server.
  4256. *
  4257. * This form can be used only if the request will not cause
  4258. * a reply to be generated. Any returned error will be
  4259. * saved for handling by xcb_request_check().
  4260. */
  4261. xcb_void_cookie_t
  4262. xcb_glx_create_context_attribs_arb_checked (xcb_connection_t *c,
  4263. xcb_glx_context_t context,
  4264. xcb_glx_fbconfig_t fbconfig,
  4265. uint32_t screen,
  4266. xcb_glx_context_t share_list,
  4267. uint8_t is_direct,
  4268. uint32_t num_attribs,
  4269. const uint32_t *attribs);
  4270. /**
  4271. *
  4272. * @param c The connection
  4273. * @return A cookie
  4274. *
  4275. * Delivers a request to the X server.
  4276. *
  4277. */
  4278. xcb_void_cookie_t
  4279. xcb_glx_create_context_attribs_arb (xcb_connection_t *c,
  4280. xcb_glx_context_t context,
  4281. xcb_glx_fbconfig_t fbconfig,
  4282. uint32_t screen,
  4283. xcb_glx_context_t share_list,
  4284. uint8_t is_direct,
  4285. uint32_t num_attribs,
  4286. const uint32_t *attribs);
  4287. uint32_t *
  4288. xcb_glx_create_context_attribs_arb_attribs (const xcb_glx_create_context_attribs_arb_request_t *R);
  4289. int
  4290. xcb_glx_create_context_attribs_arb_attribs_length (const xcb_glx_create_context_attribs_arb_request_t *R);
  4291. xcb_generic_iterator_t
  4292. xcb_glx_create_context_attribs_arb_attribs_end (const xcb_glx_create_context_attribs_arb_request_t *R);
  4293. int
  4294. xcb_glx_set_client_info_2arb_sizeof (const void *_buffer);
  4295. /**
  4296. *
  4297. * @param c The connection
  4298. * @return A cookie
  4299. *
  4300. * Delivers a request to the X server.
  4301. *
  4302. * This form can be used only if the request will not cause
  4303. * a reply to be generated. Any returned error will be
  4304. * saved for handling by xcb_request_check().
  4305. */
  4306. xcb_void_cookie_t
  4307. xcb_glx_set_client_info_2arb_checked (xcb_connection_t *c,
  4308. uint32_t major_version,
  4309. uint32_t minor_version,
  4310. uint32_t num_versions,
  4311. uint32_t gl_str_len,
  4312. uint32_t glx_str_len,
  4313. const uint32_t *gl_versions,
  4314. const char *gl_extension_string,
  4315. const char *glx_extension_string);
  4316. /**
  4317. *
  4318. * @param c The connection
  4319. * @return A cookie
  4320. *
  4321. * Delivers a request to the X server.
  4322. *
  4323. */
  4324. xcb_void_cookie_t
  4325. xcb_glx_set_client_info_2arb (xcb_connection_t *c,
  4326. uint32_t major_version,
  4327. uint32_t minor_version,
  4328. uint32_t num_versions,
  4329. uint32_t gl_str_len,
  4330. uint32_t glx_str_len,
  4331. const uint32_t *gl_versions,
  4332. const char *gl_extension_string,
  4333. const char *glx_extension_string);
  4334. uint32_t *
  4335. xcb_glx_set_client_info_2arb_gl_versions (const xcb_glx_set_client_info_2arb_request_t *R);
  4336. int
  4337. xcb_glx_set_client_info_2arb_gl_versions_length (const xcb_glx_set_client_info_2arb_request_t *R);
  4338. xcb_generic_iterator_t
  4339. xcb_glx_set_client_info_2arb_gl_versions_end (const xcb_glx_set_client_info_2arb_request_t *R);
  4340. char *
  4341. xcb_glx_set_client_info_2arb_gl_extension_string (const xcb_glx_set_client_info_2arb_request_t *R);
  4342. int
  4343. xcb_glx_set_client_info_2arb_gl_extension_string_length (const xcb_glx_set_client_info_2arb_request_t *R);
  4344. xcb_generic_iterator_t
  4345. xcb_glx_set_client_info_2arb_gl_extension_string_end (const xcb_glx_set_client_info_2arb_request_t *R);
  4346. char *
  4347. xcb_glx_set_client_info_2arb_glx_extension_string (const xcb_glx_set_client_info_2arb_request_t *R);
  4348. int
  4349. xcb_glx_set_client_info_2arb_glx_extension_string_length (const xcb_glx_set_client_info_2arb_request_t *R);
  4350. xcb_generic_iterator_t
  4351. xcb_glx_set_client_info_2arb_glx_extension_string_end (const xcb_glx_set_client_info_2arb_request_t *R);
  4352. /**
  4353. *
  4354. * @param c The connection
  4355. * @return A cookie
  4356. *
  4357. * Delivers a request to the X server.
  4358. *
  4359. * This form can be used only if the request will not cause
  4360. * a reply to be generated. Any returned error will be
  4361. * saved for handling by xcb_request_check().
  4362. */
  4363. xcb_void_cookie_t
  4364. xcb_glx_new_list_checked (xcb_connection_t *c,
  4365. xcb_glx_context_tag_t context_tag,
  4366. uint32_t list,
  4367. uint32_t mode);
  4368. /**
  4369. *
  4370. * @param c The connection
  4371. * @return A cookie
  4372. *
  4373. * Delivers a request to the X server.
  4374. *
  4375. */
  4376. xcb_void_cookie_t
  4377. xcb_glx_new_list (xcb_connection_t *c,
  4378. xcb_glx_context_tag_t context_tag,
  4379. uint32_t list,
  4380. uint32_t mode);
  4381. /**
  4382. *
  4383. * @param c The connection
  4384. * @return A cookie
  4385. *
  4386. * Delivers a request to the X server.
  4387. *
  4388. * This form can be used only if the request will not cause
  4389. * a reply to be generated. Any returned error will be
  4390. * saved for handling by xcb_request_check().
  4391. */
  4392. xcb_void_cookie_t
  4393. xcb_glx_end_list_checked (xcb_connection_t *c,
  4394. xcb_glx_context_tag_t context_tag);
  4395. /**
  4396. *
  4397. * @param c The connection
  4398. * @return A cookie
  4399. *
  4400. * Delivers a request to the X server.
  4401. *
  4402. */
  4403. xcb_void_cookie_t
  4404. xcb_glx_end_list (xcb_connection_t *c,
  4405. xcb_glx_context_tag_t context_tag);
  4406. /**
  4407. *
  4408. * @param c The connection
  4409. * @return A cookie
  4410. *
  4411. * Delivers a request to the X server.
  4412. *
  4413. * This form can be used only if the request will not cause
  4414. * a reply to be generated. Any returned error will be
  4415. * saved for handling by xcb_request_check().
  4416. */
  4417. xcb_void_cookie_t
  4418. xcb_glx_delete_lists_checked (xcb_connection_t *c,
  4419. xcb_glx_context_tag_t context_tag,
  4420. uint32_t list,
  4421. int32_t range);
  4422. /**
  4423. *
  4424. * @param c The connection
  4425. * @return A cookie
  4426. *
  4427. * Delivers a request to the X server.
  4428. *
  4429. */
  4430. xcb_void_cookie_t
  4431. xcb_glx_delete_lists (xcb_connection_t *c,
  4432. xcb_glx_context_tag_t context_tag,
  4433. uint32_t list,
  4434. int32_t range);
  4435. /**
  4436. *
  4437. * @param c The connection
  4438. * @return A cookie
  4439. *
  4440. * Delivers a request to the X server.
  4441. *
  4442. */
  4443. xcb_glx_gen_lists_cookie_t
  4444. xcb_glx_gen_lists (xcb_connection_t *c,
  4445. xcb_glx_context_tag_t context_tag,
  4446. int32_t range);
  4447. /**
  4448. *
  4449. * @param c The connection
  4450. * @return A cookie
  4451. *
  4452. * Delivers a request to the X server.
  4453. *
  4454. * This form can be used only if the request will cause
  4455. * a reply to be generated. Any returned error will be
  4456. * placed in the event queue.
  4457. */
  4458. xcb_glx_gen_lists_cookie_t
  4459. xcb_glx_gen_lists_unchecked (xcb_connection_t *c,
  4460. xcb_glx_context_tag_t context_tag,
  4461. int32_t range);
  4462. /**
  4463. * Return the reply
  4464. * @param c The connection
  4465. * @param cookie The cookie
  4466. * @param e The xcb_generic_error_t supplied
  4467. *
  4468. * Returns the reply of the request asked by
  4469. *
  4470. * The parameter @p e supplied to this function must be NULL if
  4471. * xcb_glx_gen_lists_unchecked(). is used.
  4472. * Otherwise, it stores the error if any.
  4473. *
  4474. * The returned value must be freed by the caller using free().
  4475. */
  4476. xcb_glx_gen_lists_reply_t *
  4477. xcb_glx_gen_lists_reply (xcb_connection_t *c,
  4478. xcb_glx_gen_lists_cookie_t cookie /**< */,
  4479. xcb_generic_error_t **e);
  4480. /**
  4481. *
  4482. * @param c The connection
  4483. * @return A cookie
  4484. *
  4485. * Delivers a request to the X server.
  4486. *
  4487. * This form can be used only if the request will not cause
  4488. * a reply to be generated. Any returned error will be
  4489. * saved for handling by xcb_request_check().
  4490. */
  4491. xcb_void_cookie_t
  4492. xcb_glx_feedback_buffer_checked (xcb_connection_t *c,
  4493. xcb_glx_context_tag_t context_tag,
  4494. int32_t size,
  4495. int32_t type);
  4496. /**
  4497. *
  4498. * @param c The connection
  4499. * @return A cookie
  4500. *
  4501. * Delivers a request to the X server.
  4502. *
  4503. */
  4504. xcb_void_cookie_t
  4505. xcb_glx_feedback_buffer (xcb_connection_t *c,
  4506. xcb_glx_context_tag_t context_tag,
  4507. int32_t size,
  4508. int32_t type);
  4509. /**
  4510. *
  4511. * @param c The connection
  4512. * @return A cookie
  4513. *
  4514. * Delivers a request to the X server.
  4515. *
  4516. * This form can be used only if the request will not cause
  4517. * a reply to be generated. Any returned error will be
  4518. * saved for handling by xcb_request_check().
  4519. */
  4520. xcb_void_cookie_t
  4521. xcb_glx_select_buffer_checked (xcb_connection_t *c,
  4522. xcb_glx_context_tag_t context_tag,
  4523. int32_t size);
  4524. /**
  4525. *
  4526. * @param c The connection
  4527. * @return A cookie
  4528. *
  4529. * Delivers a request to the X server.
  4530. *
  4531. */
  4532. xcb_void_cookie_t
  4533. xcb_glx_select_buffer (xcb_connection_t *c,
  4534. xcb_glx_context_tag_t context_tag,
  4535. int32_t size);
  4536. int
  4537. xcb_glx_render_mode_sizeof (const void *_buffer);
  4538. /**
  4539. *
  4540. * @param c The connection
  4541. * @return A cookie
  4542. *
  4543. * Delivers a request to the X server.
  4544. *
  4545. */
  4546. xcb_glx_render_mode_cookie_t
  4547. xcb_glx_render_mode (xcb_connection_t *c,
  4548. xcb_glx_context_tag_t context_tag,
  4549. uint32_t mode);
  4550. /**
  4551. *
  4552. * @param c The connection
  4553. * @return A cookie
  4554. *
  4555. * Delivers a request to the X server.
  4556. *
  4557. * This form can be used only if the request will cause
  4558. * a reply to be generated. Any returned error will be
  4559. * placed in the event queue.
  4560. */
  4561. xcb_glx_render_mode_cookie_t
  4562. xcb_glx_render_mode_unchecked (xcb_connection_t *c,
  4563. xcb_glx_context_tag_t context_tag,
  4564. uint32_t mode);
  4565. uint32_t *
  4566. xcb_glx_render_mode_data (const xcb_glx_render_mode_reply_t *R);
  4567. int
  4568. xcb_glx_render_mode_data_length (const xcb_glx_render_mode_reply_t *R);
  4569. xcb_generic_iterator_t
  4570. xcb_glx_render_mode_data_end (const xcb_glx_render_mode_reply_t *R);
  4571. /**
  4572. * Return the reply
  4573. * @param c The connection
  4574. * @param cookie The cookie
  4575. * @param e The xcb_generic_error_t supplied
  4576. *
  4577. * Returns the reply of the request asked by
  4578. *
  4579. * The parameter @p e supplied to this function must be NULL if
  4580. * xcb_glx_render_mode_unchecked(). is used.
  4581. * Otherwise, it stores the error if any.
  4582. *
  4583. * The returned value must be freed by the caller using free().
  4584. */
  4585. xcb_glx_render_mode_reply_t *
  4586. xcb_glx_render_mode_reply (xcb_connection_t *c,
  4587. xcb_glx_render_mode_cookie_t cookie /**< */,
  4588. xcb_generic_error_t **e);
  4589. /**
  4590. *
  4591. * @param c The connection
  4592. * @return A cookie
  4593. *
  4594. * Delivers a request to the X server.
  4595. *
  4596. */
  4597. xcb_glx_finish_cookie_t
  4598. xcb_glx_finish (xcb_connection_t *c,
  4599. xcb_glx_context_tag_t context_tag);
  4600. /**
  4601. *
  4602. * @param c The connection
  4603. * @return A cookie
  4604. *
  4605. * Delivers a request to the X server.
  4606. *
  4607. * This form can be used only if the request will cause
  4608. * a reply to be generated. Any returned error will be
  4609. * placed in the event queue.
  4610. */
  4611. xcb_glx_finish_cookie_t
  4612. xcb_glx_finish_unchecked (xcb_connection_t *c,
  4613. xcb_glx_context_tag_t context_tag);
  4614. /**
  4615. * Return the reply
  4616. * @param c The connection
  4617. * @param cookie The cookie
  4618. * @param e The xcb_generic_error_t supplied
  4619. *
  4620. * Returns the reply of the request asked by
  4621. *
  4622. * The parameter @p e supplied to this function must be NULL if
  4623. * xcb_glx_finish_unchecked(). is used.
  4624. * Otherwise, it stores the error if any.
  4625. *
  4626. * The returned value must be freed by the caller using free().
  4627. */
  4628. xcb_glx_finish_reply_t *
  4629. xcb_glx_finish_reply (xcb_connection_t *c,
  4630. xcb_glx_finish_cookie_t cookie /**< */,
  4631. xcb_generic_error_t **e);
  4632. /**
  4633. *
  4634. * @param c The connection
  4635. * @return A cookie
  4636. *
  4637. * Delivers a request to the X server.
  4638. *
  4639. * This form can be used only if the request will not cause
  4640. * a reply to be generated. Any returned error will be
  4641. * saved for handling by xcb_request_check().
  4642. */
  4643. xcb_void_cookie_t
  4644. xcb_glx_pixel_storef_checked (xcb_connection_t *c,
  4645. xcb_glx_context_tag_t context_tag,
  4646. uint32_t pname,
  4647. xcb_glx_float32_t datum);
  4648. /**
  4649. *
  4650. * @param c The connection
  4651. * @return A cookie
  4652. *
  4653. * Delivers a request to the X server.
  4654. *
  4655. */
  4656. xcb_void_cookie_t
  4657. xcb_glx_pixel_storef (xcb_connection_t *c,
  4658. xcb_glx_context_tag_t context_tag,
  4659. uint32_t pname,
  4660. xcb_glx_float32_t datum);
  4661. /**
  4662. *
  4663. * @param c The connection
  4664. * @return A cookie
  4665. *
  4666. * Delivers a request to the X server.
  4667. *
  4668. * This form can be used only if the request will not cause
  4669. * a reply to be generated. Any returned error will be
  4670. * saved for handling by xcb_request_check().
  4671. */
  4672. xcb_void_cookie_t
  4673. xcb_glx_pixel_storei_checked (xcb_connection_t *c,
  4674. xcb_glx_context_tag_t context_tag,
  4675. uint32_t pname,
  4676. int32_t datum);
  4677. /**
  4678. *
  4679. * @param c The connection
  4680. * @return A cookie
  4681. *
  4682. * Delivers a request to the X server.
  4683. *
  4684. */
  4685. xcb_void_cookie_t
  4686. xcb_glx_pixel_storei (xcb_connection_t *c,
  4687. xcb_glx_context_tag_t context_tag,
  4688. uint32_t pname,
  4689. int32_t datum);
  4690. int
  4691. xcb_glx_read_pixels_sizeof (const void *_buffer);
  4692. /**
  4693. *
  4694. * @param c The connection
  4695. * @return A cookie
  4696. *
  4697. * Delivers a request to the X server.
  4698. *
  4699. */
  4700. xcb_glx_read_pixels_cookie_t
  4701. xcb_glx_read_pixels (xcb_connection_t *c,
  4702. xcb_glx_context_tag_t context_tag,
  4703. int32_t x,
  4704. int32_t y,
  4705. int32_t width,
  4706. int32_t height,
  4707. uint32_t format,
  4708. uint32_t type,
  4709. uint8_t swap_bytes,
  4710. uint8_t lsb_first);
  4711. /**
  4712. *
  4713. * @param c The connection
  4714. * @return A cookie
  4715. *
  4716. * Delivers a request to the X server.
  4717. *
  4718. * This form can be used only if the request will cause
  4719. * a reply to be generated. Any returned error will be
  4720. * placed in the event queue.
  4721. */
  4722. xcb_glx_read_pixels_cookie_t
  4723. xcb_glx_read_pixels_unchecked (xcb_connection_t *c,
  4724. xcb_glx_context_tag_t context_tag,
  4725. int32_t x,
  4726. int32_t y,
  4727. int32_t width,
  4728. int32_t height,
  4729. uint32_t format,
  4730. uint32_t type,
  4731. uint8_t swap_bytes,
  4732. uint8_t lsb_first);
  4733. uint8_t *
  4734. xcb_glx_read_pixels_data (const xcb_glx_read_pixels_reply_t *R);
  4735. int
  4736. xcb_glx_read_pixels_data_length (const xcb_glx_read_pixels_reply_t *R);
  4737. xcb_generic_iterator_t
  4738. xcb_glx_read_pixels_data_end (const xcb_glx_read_pixels_reply_t *R);
  4739. /**
  4740. * Return the reply
  4741. * @param c The connection
  4742. * @param cookie The cookie
  4743. * @param e The xcb_generic_error_t supplied
  4744. *
  4745. * Returns the reply of the request asked by
  4746. *
  4747. * The parameter @p e supplied to this function must be NULL if
  4748. * xcb_glx_read_pixels_unchecked(). is used.
  4749. * Otherwise, it stores the error if any.
  4750. *
  4751. * The returned value must be freed by the caller using free().
  4752. */
  4753. xcb_glx_read_pixels_reply_t *
  4754. xcb_glx_read_pixels_reply (xcb_connection_t *c,
  4755. xcb_glx_read_pixels_cookie_t cookie /**< */,
  4756. xcb_generic_error_t **e);
  4757. int
  4758. xcb_glx_get_booleanv_sizeof (const void *_buffer);
  4759. /**
  4760. *
  4761. * @param c The connection
  4762. * @return A cookie
  4763. *
  4764. * Delivers a request to the X server.
  4765. *
  4766. */
  4767. xcb_glx_get_booleanv_cookie_t
  4768. xcb_glx_get_booleanv (xcb_connection_t *c,
  4769. xcb_glx_context_tag_t context_tag,
  4770. int32_t pname);
  4771. /**
  4772. *
  4773. * @param c The connection
  4774. * @return A cookie
  4775. *
  4776. * Delivers a request to the X server.
  4777. *
  4778. * This form can be used only if the request will cause
  4779. * a reply to be generated. Any returned error will be
  4780. * placed in the event queue.
  4781. */
  4782. xcb_glx_get_booleanv_cookie_t
  4783. xcb_glx_get_booleanv_unchecked (xcb_connection_t *c,
  4784. xcb_glx_context_tag_t context_tag,
  4785. int32_t pname);
  4786. uint8_t *
  4787. xcb_glx_get_booleanv_data (const xcb_glx_get_booleanv_reply_t *R);
  4788. int
  4789. xcb_glx_get_booleanv_data_length (const xcb_glx_get_booleanv_reply_t *R);
  4790. xcb_generic_iterator_t
  4791. xcb_glx_get_booleanv_data_end (const xcb_glx_get_booleanv_reply_t *R);
  4792. /**
  4793. * Return the reply
  4794. * @param c The connection
  4795. * @param cookie The cookie
  4796. * @param e The xcb_generic_error_t supplied
  4797. *
  4798. * Returns the reply of the request asked by
  4799. *
  4800. * The parameter @p e supplied to this function must be NULL if
  4801. * xcb_glx_get_booleanv_unchecked(). is used.
  4802. * Otherwise, it stores the error if any.
  4803. *
  4804. * The returned value must be freed by the caller using free().
  4805. */
  4806. xcb_glx_get_booleanv_reply_t *
  4807. xcb_glx_get_booleanv_reply (xcb_connection_t *c,
  4808. xcb_glx_get_booleanv_cookie_t cookie /**< */,
  4809. xcb_generic_error_t **e);
  4810. int
  4811. xcb_glx_get_clip_plane_sizeof (const void *_buffer);
  4812. /**
  4813. *
  4814. * @param c The connection
  4815. * @return A cookie
  4816. *
  4817. * Delivers a request to the X server.
  4818. *
  4819. */
  4820. xcb_glx_get_clip_plane_cookie_t
  4821. xcb_glx_get_clip_plane (xcb_connection_t *c,
  4822. xcb_glx_context_tag_t context_tag,
  4823. int32_t plane);
  4824. /**
  4825. *
  4826. * @param c The connection
  4827. * @return A cookie
  4828. *
  4829. * Delivers a request to the X server.
  4830. *
  4831. * This form can be used only if the request will cause
  4832. * a reply to be generated. Any returned error will be
  4833. * placed in the event queue.
  4834. */
  4835. xcb_glx_get_clip_plane_cookie_t
  4836. xcb_glx_get_clip_plane_unchecked (xcb_connection_t *c,
  4837. xcb_glx_context_tag_t context_tag,
  4838. int32_t plane);
  4839. xcb_glx_float64_t *
  4840. xcb_glx_get_clip_plane_data (const xcb_glx_get_clip_plane_reply_t *R);
  4841. int
  4842. xcb_glx_get_clip_plane_data_length (const xcb_glx_get_clip_plane_reply_t *R);
  4843. xcb_generic_iterator_t
  4844. xcb_glx_get_clip_plane_data_end (const xcb_glx_get_clip_plane_reply_t *R);
  4845. /**
  4846. * Return the reply
  4847. * @param c The connection
  4848. * @param cookie The cookie
  4849. * @param e The xcb_generic_error_t supplied
  4850. *
  4851. * Returns the reply of the request asked by
  4852. *
  4853. * The parameter @p e supplied to this function must be NULL if
  4854. * xcb_glx_get_clip_plane_unchecked(). is used.
  4855. * Otherwise, it stores the error if any.
  4856. *
  4857. * The returned value must be freed by the caller using free().
  4858. */
  4859. xcb_glx_get_clip_plane_reply_t *
  4860. xcb_glx_get_clip_plane_reply (xcb_connection_t *c,
  4861. xcb_glx_get_clip_plane_cookie_t cookie /**< */,
  4862. xcb_generic_error_t **e);
  4863. int
  4864. xcb_glx_get_doublev_sizeof (const void *_buffer);
  4865. /**
  4866. *
  4867. * @param c The connection
  4868. * @return A cookie
  4869. *
  4870. * Delivers a request to the X server.
  4871. *
  4872. */
  4873. xcb_glx_get_doublev_cookie_t
  4874. xcb_glx_get_doublev (xcb_connection_t *c,
  4875. xcb_glx_context_tag_t context_tag,
  4876. uint32_t pname);
  4877. /**
  4878. *
  4879. * @param c The connection
  4880. * @return A cookie
  4881. *
  4882. * Delivers a request to the X server.
  4883. *
  4884. * This form can be used only if the request will cause
  4885. * a reply to be generated. Any returned error will be
  4886. * placed in the event queue.
  4887. */
  4888. xcb_glx_get_doublev_cookie_t
  4889. xcb_glx_get_doublev_unchecked (xcb_connection_t *c,
  4890. xcb_glx_context_tag_t context_tag,
  4891. uint32_t pname);
  4892. xcb_glx_float64_t *
  4893. xcb_glx_get_doublev_data (const xcb_glx_get_doublev_reply_t *R);
  4894. int
  4895. xcb_glx_get_doublev_data_length (const xcb_glx_get_doublev_reply_t *R);
  4896. xcb_generic_iterator_t
  4897. xcb_glx_get_doublev_data_end (const xcb_glx_get_doublev_reply_t *R);
  4898. /**
  4899. * Return the reply
  4900. * @param c The connection
  4901. * @param cookie The cookie
  4902. * @param e The xcb_generic_error_t supplied
  4903. *
  4904. * Returns the reply of the request asked by
  4905. *
  4906. * The parameter @p e supplied to this function must be NULL if
  4907. * xcb_glx_get_doublev_unchecked(). is used.
  4908. * Otherwise, it stores the error if any.
  4909. *
  4910. * The returned value must be freed by the caller using free().
  4911. */
  4912. xcb_glx_get_doublev_reply_t *
  4913. xcb_glx_get_doublev_reply (xcb_connection_t *c,
  4914. xcb_glx_get_doublev_cookie_t cookie /**< */,
  4915. xcb_generic_error_t **e);
  4916. /**
  4917. *
  4918. * @param c The connection
  4919. * @return A cookie
  4920. *
  4921. * Delivers a request to the X server.
  4922. *
  4923. */
  4924. xcb_glx_get_error_cookie_t
  4925. xcb_glx_get_error (xcb_connection_t *c,
  4926. xcb_glx_context_tag_t context_tag);
  4927. /**
  4928. *
  4929. * @param c The connection
  4930. * @return A cookie
  4931. *
  4932. * Delivers a request to the X server.
  4933. *
  4934. * This form can be used only if the request will cause
  4935. * a reply to be generated. Any returned error will be
  4936. * placed in the event queue.
  4937. */
  4938. xcb_glx_get_error_cookie_t
  4939. xcb_glx_get_error_unchecked (xcb_connection_t *c,
  4940. xcb_glx_context_tag_t context_tag);
  4941. /**
  4942. * Return the reply
  4943. * @param c The connection
  4944. * @param cookie The cookie
  4945. * @param e The xcb_generic_error_t supplied
  4946. *
  4947. * Returns the reply of the request asked by
  4948. *
  4949. * The parameter @p e supplied to this function must be NULL if
  4950. * xcb_glx_get_error_unchecked(). is used.
  4951. * Otherwise, it stores the error if any.
  4952. *
  4953. * The returned value must be freed by the caller using free().
  4954. */
  4955. xcb_glx_get_error_reply_t *
  4956. xcb_glx_get_error_reply (xcb_connection_t *c,
  4957. xcb_glx_get_error_cookie_t cookie /**< */,
  4958. xcb_generic_error_t **e);
  4959. int
  4960. xcb_glx_get_floatv_sizeof (const void *_buffer);
  4961. /**
  4962. *
  4963. * @param c The connection
  4964. * @return A cookie
  4965. *
  4966. * Delivers a request to the X server.
  4967. *
  4968. */
  4969. xcb_glx_get_floatv_cookie_t
  4970. xcb_glx_get_floatv (xcb_connection_t *c,
  4971. xcb_glx_context_tag_t context_tag,
  4972. uint32_t pname);
  4973. /**
  4974. *
  4975. * @param c The connection
  4976. * @return A cookie
  4977. *
  4978. * Delivers a request to the X server.
  4979. *
  4980. * This form can be used only if the request will cause
  4981. * a reply to be generated. Any returned error will be
  4982. * placed in the event queue.
  4983. */
  4984. xcb_glx_get_floatv_cookie_t
  4985. xcb_glx_get_floatv_unchecked (xcb_connection_t *c,
  4986. xcb_glx_context_tag_t context_tag,
  4987. uint32_t pname);
  4988. xcb_glx_float32_t *
  4989. xcb_glx_get_floatv_data (const xcb_glx_get_floatv_reply_t *R);
  4990. int
  4991. xcb_glx_get_floatv_data_length (const xcb_glx_get_floatv_reply_t *R);
  4992. xcb_generic_iterator_t
  4993. xcb_glx_get_floatv_data_end (const xcb_glx_get_floatv_reply_t *R);
  4994. /**
  4995. * Return the reply
  4996. * @param c The connection
  4997. * @param cookie The cookie
  4998. * @param e The xcb_generic_error_t supplied
  4999. *
  5000. * Returns the reply of the request asked by
  5001. *
  5002. * The parameter @p e supplied to this function must be NULL if
  5003. * xcb_glx_get_floatv_unchecked(). is used.
  5004. * Otherwise, it stores the error if any.
  5005. *
  5006. * The returned value must be freed by the caller using free().
  5007. */
  5008. xcb_glx_get_floatv_reply_t *
  5009. xcb_glx_get_floatv_reply (xcb_connection_t *c,
  5010. xcb_glx_get_floatv_cookie_t cookie /**< */,
  5011. xcb_generic_error_t **e);
  5012. int
  5013. xcb_glx_get_integerv_sizeof (const void *_buffer);
  5014. /**
  5015. *
  5016. * @param c The connection
  5017. * @return A cookie
  5018. *
  5019. * Delivers a request to the X server.
  5020. *
  5021. */
  5022. xcb_glx_get_integerv_cookie_t
  5023. xcb_glx_get_integerv (xcb_connection_t *c,
  5024. xcb_glx_context_tag_t context_tag,
  5025. uint32_t pname);
  5026. /**
  5027. *
  5028. * @param c The connection
  5029. * @return A cookie
  5030. *
  5031. * Delivers a request to the X server.
  5032. *
  5033. * This form can be used only if the request will cause
  5034. * a reply to be generated. Any returned error will be
  5035. * placed in the event queue.
  5036. */
  5037. xcb_glx_get_integerv_cookie_t
  5038. xcb_glx_get_integerv_unchecked (xcb_connection_t *c,
  5039. xcb_glx_context_tag_t context_tag,
  5040. uint32_t pname);
  5041. int32_t *
  5042. xcb_glx_get_integerv_data (const xcb_glx_get_integerv_reply_t *R);
  5043. int
  5044. xcb_glx_get_integerv_data_length (const xcb_glx_get_integerv_reply_t *R);
  5045. xcb_generic_iterator_t
  5046. xcb_glx_get_integerv_data_end (const xcb_glx_get_integerv_reply_t *R);
  5047. /**
  5048. * Return the reply
  5049. * @param c The connection
  5050. * @param cookie The cookie
  5051. * @param e The xcb_generic_error_t supplied
  5052. *
  5053. * Returns the reply of the request asked by
  5054. *
  5055. * The parameter @p e supplied to this function must be NULL if
  5056. * xcb_glx_get_integerv_unchecked(). is used.
  5057. * Otherwise, it stores the error if any.
  5058. *
  5059. * The returned value must be freed by the caller using free().
  5060. */
  5061. xcb_glx_get_integerv_reply_t *
  5062. xcb_glx_get_integerv_reply (xcb_connection_t *c,
  5063. xcb_glx_get_integerv_cookie_t cookie /**< */,
  5064. xcb_generic_error_t **e);
  5065. int
  5066. xcb_glx_get_lightfv_sizeof (const void *_buffer);
  5067. /**
  5068. *
  5069. * @param c The connection
  5070. * @return A cookie
  5071. *
  5072. * Delivers a request to the X server.
  5073. *
  5074. */
  5075. xcb_glx_get_lightfv_cookie_t
  5076. xcb_glx_get_lightfv (xcb_connection_t *c,
  5077. xcb_glx_context_tag_t context_tag,
  5078. uint32_t light,
  5079. uint32_t pname);
  5080. /**
  5081. *
  5082. * @param c The connection
  5083. * @return A cookie
  5084. *
  5085. * Delivers a request to the X server.
  5086. *
  5087. * This form can be used only if the request will cause
  5088. * a reply to be generated. Any returned error will be
  5089. * placed in the event queue.
  5090. */
  5091. xcb_glx_get_lightfv_cookie_t
  5092. xcb_glx_get_lightfv_unchecked (xcb_connection_t *c,
  5093. xcb_glx_context_tag_t context_tag,
  5094. uint32_t light,
  5095. uint32_t pname);
  5096. xcb_glx_float32_t *
  5097. xcb_glx_get_lightfv_data (const xcb_glx_get_lightfv_reply_t *R);
  5098. int
  5099. xcb_glx_get_lightfv_data_length (const xcb_glx_get_lightfv_reply_t *R);
  5100. xcb_generic_iterator_t
  5101. xcb_glx_get_lightfv_data_end (const xcb_glx_get_lightfv_reply_t *R);
  5102. /**
  5103. * Return the reply
  5104. * @param c The connection
  5105. * @param cookie The cookie
  5106. * @param e The xcb_generic_error_t supplied
  5107. *
  5108. * Returns the reply of the request asked by
  5109. *
  5110. * The parameter @p e supplied to this function must be NULL if
  5111. * xcb_glx_get_lightfv_unchecked(). is used.
  5112. * Otherwise, it stores the error if any.
  5113. *
  5114. * The returned value must be freed by the caller using free().
  5115. */
  5116. xcb_glx_get_lightfv_reply_t *
  5117. xcb_glx_get_lightfv_reply (xcb_connection_t *c,
  5118. xcb_glx_get_lightfv_cookie_t cookie /**< */,
  5119. xcb_generic_error_t **e);
  5120. int
  5121. xcb_glx_get_lightiv_sizeof (const void *_buffer);
  5122. /**
  5123. *
  5124. * @param c The connection
  5125. * @return A cookie
  5126. *
  5127. * Delivers a request to the X server.
  5128. *
  5129. */
  5130. xcb_glx_get_lightiv_cookie_t
  5131. xcb_glx_get_lightiv (xcb_connection_t *c,
  5132. xcb_glx_context_tag_t context_tag,
  5133. uint32_t light,
  5134. uint32_t pname);
  5135. /**
  5136. *
  5137. * @param c The connection
  5138. * @return A cookie
  5139. *
  5140. * Delivers a request to the X server.
  5141. *
  5142. * This form can be used only if the request will cause
  5143. * a reply to be generated. Any returned error will be
  5144. * placed in the event queue.
  5145. */
  5146. xcb_glx_get_lightiv_cookie_t
  5147. xcb_glx_get_lightiv_unchecked (xcb_connection_t *c,
  5148. xcb_glx_context_tag_t context_tag,
  5149. uint32_t light,
  5150. uint32_t pname);
  5151. int32_t *
  5152. xcb_glx_get_lightiv_data (const xcb_glx_get_lightiv_reply_t *R);
  5153. int
  5154. xcb_glx_get_lightiv_data_length (const xcb_glx_get_lightiv_reply_t *R);
  5155. xcb_generic_iterator_t
  5156. xcb_glx_get_lightiv_data_end (const xcb_glx_get_lightiv_reply_t *R);
  5157. /**
  5158. * Return the reply
  5159. * @param c The connection
  5160. * @param cookie The cookie
  5161. * @param e The xcb_generic_error_t supplied
  5162. *
  5163. * Returns the reply of the request asked by
  5164. *
  5165. * The parameter @p e supplied to this function must be NULL if
  5166. * xcb_glx_get_lightiv_unchecked(). is used.
  5167. * Otherwise, it stores the error if any.
  5168. *
  5169. * The returned value must be freed by the caller using free().
  5170. */
  5171. xcb_glx_get_lightiv_reply_t *
  5172. xcb_glx_get_lightiv_reply (xcb_connection_t *c,
  5173. xcb_glx_get_lightiv_cookie_t cookie /**< */,
  5174. xcb_generic_error_t **e);
  5175. int
  5176. xcb_glx_get_mapdv_sizeof (const void *_buffer);
  5177. /**
  5178. *
  5179. * @param c The connection
  5180. * @return A cookie
  5181. *
  5182. * Delivers a request to the X server.
  5183. *
  5184. */
  5185. xcb_glx_get_mapdv_cookie_t
  5186. xcb_glx_get_mapdv (xcb_connection_t *c,
  5187. xcb_glx_context_tag_t context_tag,
  5188. uint32_t target,
  5189. uint32_t query);
  5190. /**
  5191. *
  5192. * @param c The connection
  5193. * @return A cookie
  5194. *
  5195. * Delivers a request to the X server.
  5196. *
  5197. * This form can be used only if the request will cause
  5198. * a reply to be generated. Any returned error will be
  5199. * placed in the event queue.
  5200. */
  5201. xcb_glx_get_mapdv_cookie_t
  5202. xcb_glx_get_mapdv_unchecked (xcb_connection_t *c,
  5203. xcb_glx_context_tag_t context_tag,
  5204. uint32_t target,
  5205. uint32_t query);
  5206. xcb_glx_float64_t *
  5207. xcb_glx_get_mapdv_data (const xcb_glx_get_mapdv_reply_t *R);
  5208. int
  5209. xcb_glx_get_mapdv_data_length (const xcb_glx_get_mapdv_reply_t *R);
  5210. xcb_generic_iterator_t
  5211. xcb_glx_get_mapdv_data_end (const xcb_glx_get_mapdv_reply_t *R);
  5212. /**
  5213. * Return the reply
  5214. * @param c The connection
  5215. * @param cookie The cookie
  5216. * @param e The xcb_generic_error_t supplied
  5217. *
  5218. * Returns the reply of the request asked by
  5219. *
  5220. * The parameter @p e supplied to this function must be NULL if
  5221. * xcb_glx_get_mapdv_unchecked(). is used.
  5222. * Otherwise, it stores the error if any.
  5223. *
  5224. * The returned value must be freed by the caller using free().
  5225. */
  5226. xcb_glx_get_mapdv_reply_t *
  5227. xcb_glx_get_mapdv_reply (xcb_connection_t *c,
  5228. xcb_glx_get_mapdv_cookie_t cookie /**< */,
  5229. xcb_generic_error_t **e);
  5230. int
  5231. xcb_glx_get_mapfv_sizeof (const void *_buffer);
  5232. /**
  5233. *
  5234. * @param c The connection
  5235. * @return A cookie
  5236. *
  5237. * Delivers a request to the X server.
  5238. *
  5239. */
  5240. xcb_glx_get_mapfv_cookie_t
  5241. xcb_glx_get_mapfv (xcb_connection_t *c,
  5242. xcb_glx_context_tag_t context_tag,
  5243. uint32_t target,
  5244. uint32_t query);
  5245. /**
  5246. *
  5247. * @param c The connection
  5248. * @return A cookie
  5249. *
  5250. * Delivers a request to the X server.
  5251. *
  5252. * This form can be used only if the request will cause
  5253. * a reply to be generated. Any returned error will be
  5254. * placed in the event queue.
  5255. */
  5256. xcb_glx_get_mapfv_cookie_t
  5257. xcb_glx_get_mapfv_unchecked (xcb_connection_t *c,
  5258. xcb_glx_context_tag_t context_tag,
  5259. uint32_t target,
  5260. uint32_t query);
  5261. xcb_glx_float32_t *
  5262. xcb_glx_get_mapfv_data (const xcb_glx_get_mapfv_reply_t *R);
  5263. int
  5264. xcb_glx_get_mapfv_data_length (const xcb_glx_get_mapfv_reply_t *R);
  5265. xcb_generic_iterator_t
  5266. xcb_glx_get_mapfv_data_end (const xcb_glx_get_mapfv_reply_t *R);
  5267. /**
  5268. * Return the reply
  5269. * @param c The connection
  5270. * @param cookie The cookie
  5271. * @param e The xcb_generic_error_t supplied
  5272. *
  5273. * Returns the reply of the request asked by
  5274. *
  5275. * The parameter @p e supplied to this function must be NULL if
  5276. * xcb_glx_get_mapfv_unchecked(). is used.
  5277. * Otherwise, it stores the error if any.
  5278. *
  5279. * The returned value must be freed by the caller using free().
  5280. */
  5281. xcb_glx_get_mapfv_reply_t *
  5282. xcb_glx_get_mapfv_reply (xcb_connection_t *c,
  5283. xcb_glx_get_mapfv_cookie_t cookie /**< */,
  5284. xcb_generic_error_t **e);
  5285. int
  5286. xcb_glx_get_mapiv_sizeof (const void *_buffer);
  5287. /**
  5288. *
  5289. * @param c The connection
  5290. * @return A cookie
  5291. *
  5292. * Delivers a request to the X server.
  5293. *
  5294. */
  5295. xcb_glx_get_mapiv_cookie_t
  5296. xcb_glx_get_mapiv (xcb_connection_t *c,
  5297. xcb_glx_context_tag_t context_tag,
  5298. uint32_t target,
  5299. uint32_t query);
  5300. /**
  5301. *
  5302. * @param c The connection
  5303. * @return A cookie
  5304. *
  5305. * Delivers a request to the X server.
  5306. *
  5307. * This form can be used only if the request will cause
  5308. * a reply to be generated. Any returned error will be
  5309. * placed in the event queue.
  5310. */
  5311. xcb_glx_get_mapiv_cookie_t
  5312. xcb_glx_get_mapiv_unchecked (xcb_connection_t *c,
  5313. xcb_glx_context_tag_t context_tag,
  5314. uint32_t target,
  5315. uint32_t query);
  5316. int32_t *
  5317. xcb_glx_get_mapiv_data (const xcb_glx_get_mapiv_reply_t *R);
  5318. int
  5319. xcb_glx_get_mapiv_data_length (const xcb_glx_get_mapiv_reply_t *R);
  5320. xcb_generic_iterator_t
  5321. xcb_glx_get_mapiv_data_end (const xcb_glx_get_mapiv_reply_t *R);
  5322. /**
  5323. * Return the reply
  5324. * @param c The connection
  5325. * @param cookie The cookie
  5326. * @param e The xcb_generic_error_t supplied
  5327. *
  5328. * Returns the reply of the request asked by
  5329. *
  5330. * The parameter @p e supplied to this function must be NULL if
  5331. * xcb_glx_get_mapiv_unchecked(). is used.
  5332. * Otherwise, it stores the error if any.
  5333. *
  5334. * The returned value must be freed by the caller using free().
  5335. */
  5336. xcb_glx_get_mapiv_reply_t *
  5337. xcb_glx_get_mapiv_reply (xcb_connection_t *c,
  5338. xcb_glx_get_mapiv_cookie_t cookie /**< */,
  5339. xcb_generic_error_t **e);
  5340. int
  5341. xcb_glx_get_materialfv_sizeof (const void *_buffer);
  5342. /**
  5343. *
  5344. * @param c The connection
  5345. * @return A cookie
  5346. *
  5347. * Delivers a request to the X server.
  5348. *
  5349. */
  5350. xcb_glx_get_materialfv_cookie_t
  5351. xcb_glx_get_materialfv (xcb_connection_t *c,
  5352. xcb_glx_context_tag_t context_tag,
  5353. uint32_t face,
  5354. uint32_t pname);
  5355. /**
  5356. *
  5357. * @param c The connection
  5358. * @return A cookie
  5359. *
  5360. * Delivers a request to the X server.
  5361. *
  5362. * This form can be used only if the request will cause
  5363. * a reply to be generated. Any returned error will be
  5364. * placed in the event queue.
  5365. */
  5366. xcb_glx_get_materialfv_cookie_t
  5367. xcb_glx_get_materialfv_unchecked (xcb_connection_t *c,
  5368. xcb_glx_context_tag_t context_tag,
  5369. uint32_t face,
  5370. uint32_t pname);
  5371. xcb_glx_float32_t *
  5372. xcb_glx_get_materialfv_data (const xcb_glx_get_materialfv_reply_t *R);
  5373. int
  5374. xcb_glx_get_materialfv_data_length (const xcb_glx_get_materialfv_reply_t *R);
  5375. xcb_generic_iterator_t
  5376. xcb_glx_get_materialfv_data_end (const xcb_glx_get_materialfv_reply_t *R);
  5377. /**
  5378. * Return the reply
  5379. * @param c The connection
  5380. * @param cookie The cookie
  5381. * @param e The xcb_generic_error_t supplied
  5382. *
  5383. * Returns the reply of the request asked by
  5384. *
  5385. * The parameter @p e supplied to this function must be NULL if
  5386. * xcb_glx_get_materialfv_unchecked(). is used.
  5387. * Otherwise, it stores the error if any.
  5388. *
  5389. * The returned value must be freed by the caller using free().
  5390. */
  5391. xcb_glx_get_materialfv_reply_t *
  5392. xcb_glx_get_materialfv_reply (xcb_connection_t *c,
  5393. xcb_glx_get_materialfv_cookie_t cookie /**< */,
  5394. xcb_generic_error_t **e);
  5395. int
  5396. xcb_glx_get_materialiv_sizeof (const void *_buffer);
  5397. /**
  5398. *
  5399. * @param c The connection
  5400. * @return A cookie
  5401. *
  5402. * Delivers a request to the X server.
  5403. *
  5404. */
  5405. xcb_glx_get_materialiv_cookie_t
  5406. xcb_glx_get_materialiv (xcb_connection_t *c,
  5407. xcb_glx_context_tag_t context_tag,
  5408. uint32_t face,
  5409. uint32_t pname);
  5410. /**
  5411. *
  5412. * @param c The connection
  5413. * @return A cookie
  5414. *
  5415. * Delivers a request to the X server.
  5416. *
  5417. * This form can be used only if the request will cause
  5418. * a reply to be generated. Any returned error will be
  5419. * placed in the event queue.
  5420. */
  5421. xcb_glx_get_materialiv_cookie_t
  5422. xcb_glx_get_materialiv_unchecked (xcb_connection_t *c,
  5423. xcb_glx_context_tag_t context_tag,
  5424. uint32_t face,
  5425. uint32_t pname);
  5426. int32_t *
  5427. xcb_glx_get_materialiv_data (const xcb_glx_get_materialiv_reply_t *R);
  5428. int
  5429. xcb_glx_get_materialiv_data_length (const xcb_glx_get_materialiv_reply_t *R);
  5430. xcb_generic_iterator_t
  5431. xcb_glx_get_materialiv_data_end (const xcb_glx_get_materialiv_reply_t *R);
  5432. /**
  5433. * Return the reply
  5434. * @param c The connection
  5435. * @param cookie The cookie
  5436. * @param e The xcb_generic_error_t supplied
  5437. *
  5438. * Returns the reply of the request asked by
  5439. *
  5440. * The parameter @p e supplied to this function must be NULL if
  5441. * xcb_glx_get_materialiv_unchecked(). is used.
  5442. * Otherwise, it stores the error if any.
  5443. *
  5444. * The returned value must be freed by the caller using free().
  5445. */
  5446. xcb_glx_get_materialiv_reply_t *
  5447. xcb_glx_get_materialiv_reply (xcb_connection_t *c,
  5448. xcb_glx_get_materialiv_cookie_t cookie /**< */,
  5449. xcb_generic_error_t **e);
  5450. int
  5451. xcb_glx_get_pixel_mapfv_sizeof (const void *_buffer);
  5452. /**
  5453. *
  5454. * @param c The connection
  5455. * @return A cookie
  5456. *
  5457. * Delivers a request to the X server.
  5458. *
  5459. */
  5460. xcb_glx_get_pixel_mapfv_cookie_t
  5461. xcb_glx_get_pixel_mapfv (xcb_connection_t *c,
  5462. xcb_glx_context_tag_t context_tag,
  5463. uint32_t map);
  5464. /**
  5465. *
  5466. * @param c The connection
  5467. * @return A cookie
  5468. *
  5469. * Delivers a request to the X server.
  5470. *
  5471. * This form can be used only if the request will cause
  5472. * a reply to be generated. Any returned error will be
  5473. * placed in the event queue.
  5474. */
  5475. xcb_glx_get_pixel_mapfv_cookie_t
  5476. xcb_glx_get_pixel_mapfv_unchecked (xcb_connection_t *c,
  5477. xcb_glx_context_tag_t context_tag,
  5478. uint32_t map);
  5479. xcb_glx_float32_t *
  5480. xcb_glx_get_pixel_mapfv_data (const xcb_glx_get_pixel_mapfv_reply_t *R);
  5481. int
  5482. xcb_glx_get_pixel_mapfv_data_length (const xcb_glx_get_pixel_mapfv_reply_t *R);
  5483. xcb_generic_iterator_t
  5484. xcb_glx_get_pixel_mapfv_data_end (const xcb_glx_get_pixel_mapfv_reply_t *R);
  5485. /**
  5486. * Return the reply
  5487. * @param c The connection
  5488. * @param cookie The cookie
  5489. * @param e The xcb_generic_error_t supplied
  5490. *
  5491. * Returns the reply of the request asked by
  5492. *
  5493. * The parameter @p e supplied to this function must be NULL if
  5494. * xcb_glx_get_pixel_mapfv_unchecked(). is used.
  5495. * Otherwise, it stores the error if any.
  5496. *
  5497. * The returned value must be freed by the caller using free().
  5498. */
  5499. xcb_glx_get_pixel_mapfv_reply_t *
  5500. xcb_glx_get_pixel_mapfv_reply (xcb_connection_t *c,
  5501. xcb_glx_get_pixel_mapfv_cookie_t cookie /**< */,
  5502. xcb_generic_error_t **e);
  5503. int
  5504. xcb_glx_get_pixel_mapuiv_sizeof (const void *_buffer);
  5505. /**
  5506. *
  5507. * @param c The connection
  5508. * @return A cookie
  5509. *
  5510. * Delivers a request to the X server.
  5511. *
  5512. */
  5513. xcb_glx_get_pixel_mapuiv_cookie_t
  5514. xcb_glx_get_pixel_mapuiv (xcb_connection_t *c,
  5515. xcb_glx_context_tag_t context_tag,
  5516. uint32_t map);
  5517. /**
  5518. *
  5519. * @param c The connection
  5520. * @return A cookie
  5521. *
  5522. * Delivers a request to the X server.
  5523. *
  5524. * This form can be used only if the request will cause
  5525. * a reply to be generated. Any returned error will be
  5526. * placed in the event queue.
  5527. */
  5528. xcb_glx_get_pixel_mapuiv_cookie_t
  5529. xcb_glx_get_pixel_mapuiv_unchecked (xcb_connection_t *c,
  5530. xcb_glx_context_tag_t context_tag,
  5531. uint32_t map);
  5532. uint32_t *
  5533. xcb_glx_get_pixel_mapuiv_data (const xcb_glx_get_pixel_mapuiv_reply_t *R);
  5534. int
  5535. xcb_glx_get_pixel_mapuiv_data_length (const xcb_glx_get_pixel_mapuiv_reply_t *R);
  5536. xcb_generic_iterator_t
  5537. xcb_glx_get_pixel_mapuiv_data_end (const xcb_glx_get_pixel_mapuiv_reply_t *R);
  5538. /**
  5539. * Return the reply
  5540. * @param c The connection
  5541. * @param cookie The cookie
  5542. * @param e The xcb_generic_error_t supplied
  5543. *
  5544. * Returns the reply of the request asked by
  5545. *
  5546. * The parameter @p e supplied to this function must be NULL if
  5547. * xcb_glx_get_pixel_mapuiv_unchecked(). is used.
  5548. * Otherwise, it stores the error if any.
  5549. *
  5550. * The returned value must be freed by the caller using free().
  5551. */
  5552. xcb_glx_get_pixel_mapuiv_reply_t *
  5553. xcb_glx_get_pixel_mapuiv_reply (xcb_connection_t *c,
  5554. xcb_glx_get_pixel_mapuiv_cookie_t cookie /**< */,
  5555. xcb_generic_error_t **e);
  5556. int
  5557. xcb_glx_get_pixel_mapusv_sizeof (const void *_buffer);
  5558. /**
  5559. *
  5560. * @param c The connection
  5561. * @return A cookie
  5562. *
  5563. * Delivers a request to the X server.
  5564. *
  5565. */
  5566. xcb_glx_get_pixel_mapusv_cookie_t
  5567. xcb_glx_get_pixel_mapusv (xcb_connection_t *c,
  5568. xcb_glx_context_tag_t context_tag,
  5569. uint32_t map);
  5570. /**
  5571. *
  5572. * @param c The connection
  5573. * @return A cookie
  5574. *
  5575. * Delivers a request to the X server.
  5576. *
  5577. * This form can be used only if the request will cause
  5578. * a reply to be generated. Any returned error will be
  5579. * placed in the event queue.
  5580. */
  5581. xcb_glx_get_pixel_mapusv_cookie_t
  5582. xcb_glx_get_pixel_mapusv_unchecked (xcb_connection_t *c,
  5583. xcb_glx_context_tag_t context_tag,
  5584. uint32_t map);
  5585. uint16_t *
  5586. xcb_glx_get_pixel_mapusv_data (const xcb_glx_get_pixel_mapusv_reply_t *R);
  5587. int
  5588. xcb_glx_get_pixel_mapusv_data_length (const xcb_glx_get_pixel_mapusv_reply_t *R);
  5589. xcb_generic_iterator_t
  5590. xcb_glx_get_pixel_mapusv_data_end (const xcb_glx_get_pixel_mapusv_reply_t *R);
  5591. /**
  5592. * Return the reply
  5593. * @param c The connection
  5594. * @param cookie The cookie
  5595. * @param e The xcb_generic_error_t supplied
  5596. *
  5597. * Returns the reply of the request asked by
  5598. *
  5599. * The parameter @p e supplied to this function must be NULL if
  5600. * xcb_glx_get_pixel_mapusv_unchecked(). is used.
  5601. * Otherwise, it stores the error if any.
  5602. *
  5603. * The returned value must be freed by the caller using free().
  5604. */
  5605. xcb_glx_get_pixel_mapusv_reply_t *
  5606. xcb_glx_get_pixel_mapusv_reply (xcb_connection_t *c,
  5607. xcb_glx_get_pixel_mapusv_cookie_t cookie /**< */,
  5608. xcb_generic_error_t **e);
  5609. int
  5610. xcb_glx_get_polygon_stipple_sizeof (const void *_buffer);
  5611. /**
  5612. *
  5613. * @param c The connection
  5614. * @return A cookie
  5615. *
  5616. * Delivers a request to the X server.
  5617. *
  5618. */
  5619. xcb_glx_get_polygon_stipple_cookie_t
  5620. xcb_glx_get_polygon_stipple (xcb_connection_t *c,
  5621. xcb_glx_context_tag_t context_tag,
  5622. uint8_t lsb_first);
  5623. /**
  5624. *
  5625. * @param c The connection
  5626. * @return A cookie
  5627. *
  5628. * Delivers a request to the X server.
  5629. *
  5630. * This form can be used only if the request will cause
  5631. * a reply to be generated. Any returned error will be
  5632. * placed in the event queue.
  5633. */
  5634. xcb_glx_get_polygon_stipple_cookie_t
  5635. xcb_glx_get_polygon_stipple_unchecked (xcb_connection_t *c,
  5636. xcb_glx_context_tag_t context_tag,
  5637. uint8_t lsb_first);
  5638. uint8_t *
  5639. xcb_glx_get_polygon_stipple_data (const xcb_glx_get_polygon_stipple_reply_t *R);
  5640. int
  5641. xcb_glx_get_polygon_stipple_data_length (const xcb_glx_get_polygon_stipple_reply_t *R);
  5642. xcb_generic_iterator_t
  5643. xcb_glx_get_polygon_stipple_data_end (const xcb_glx_get_polygon_stipple_reply_t *R);
  5644. /**
  5645. * Return the reply
  5646. * @param c The connection
  5647. * @param cookie The cookie
  5648. * @param e The xcb_generic_error_t supplied
  5649. *
  5650. * Returns the reply of the request asked by
  5651. *
  5652. * The parameter @p e supplied to this function must be NULL if
  5653. * xcb_glx_get_polygon_stipple_unchecked(). is used.
  5654. * Otherwise, it stores the error if any.
  5655. *
  5656. * The returned value must be freed by the caller using free().
  5657. */
  5658. xcb_glx_get_polygon_stipple_reply_t *
  5659. xcb_glx_get_polygon_stipple_reply (xcb_connection_t *c,
  5660. xcb_glx_get_polygon_stipple_cookie_t cookie /**< */,
  5661. xcb_generic_error_t **e);
  5662. int
  5663. xcb_glx_get_string_sizeof (const void *_buffer);
  5664. /**
  5665. *
  5666. * @param c The connection
  5667. * @return A cookie
  5668. *
  5669. * Delivers a request to the X server.
  5670. *
  5671. */
  5672. xcb_glx_get_string_cookie_t
  5673. xcb_glx_get_string (xcb_connection_t *c,
  5674. xcb_glx_context_tag_t context_tag,
  5675. uint32_t name);
  5676. /**
  5677. *
  5678. * @param c The connection
  5679. * @return A cookie
  5680. *
  5681. * Delivers a request to the X server.
  5682. *
  5683. * This form can be used only if the request will cause
  5684. * a reply to be generated. Any returned error will be
  5685. * placed in the event queue.
  5686. */
  5687. xcb_glx_get_string_cookie_t
  5688. xcb_glx_get_string_unchecked (xcb_connection_t *c,
  5689. xcb_glx_context_tag_t context_tag,
  5690. uint32_t name);
  5691. char *
  5692. xcb_glx_get_string_string (const xcb_glx_get_string_reply_t *R);
  5693. int
  5694. xcb_glx_get_string_string_length (const xcb_glx_get_string_reply_t *R);
  5695. xcb_generic_iterator_t
  5696. xcb_glx_get_string_string_end (const xcb_glx_get_string_reply_t *R);
  5697. /**
  5698. * Return the reply
  5699. * @param c The connection
  5700. * @param cookie The cookie
  5701. * @param e The xcb_generic_error_t supplied
  5702. *
  5703. * Returns the reply of the request asked by
  5704. *
  5705. * The parameter @p e supplied to this function must be NULL if
  5706. * xcb_glx_get_string_unchecked(). is used.
  5707. * Otherwise, it stores the error if any.
  5708. *
  5709. * The returned value must be freed by the caller using free().
  5710. */
  5711. xcb_glx_get_string_reply_t *
  5712. xcb_glx_get_string_reply (xcb_connection_t *c,
  5713. xcb_glx_get_string_cookie_t cookie /**< */,
  5714. xcb_generic_error_t **e);
  5715. int
  5716. xcb_glx_get_tex_envfv_sizeof (const void *_buffer);
  5717. /**
  5718. *
  5719. * @param c The connection
  5720. * @return A cookie
  5721. *
  5722. * Delivers a request to the X server.
  5723. *
  5724. */
  5725. xcb_glx_get_tex_envfv_cookie_t
  5726. xcb_glx_get_tex_envfv (xcb_connection_t *c,
  5727. xcb_glx_context_tag_t context_tag,
  5728. uint32_t target,
  5729. uint32_t pname);
  5730. /**
  5731. *
  5732. * @param c The connection
  5733. * @return A cookie
  5734. *
  5735. * Delivers a request to the X server.
  5736. *
  5737. * This form can be used only if the request will cause
  5738. * a reply to be generated. Any returned error will be
  5739. * placed in the event queue.
  5740. */
  5741. xcb_glx_get_tex_envfv_cookie_t
  5742. xcb_glx_get_tex_envfv_unchecked (xcb_connection_t *c,
  5743. xcb_glx_context_tag_t context_tag,
  5744. uint32_t target,
  5745. uint32_t pname);
  5746. xcb_glx_float32_t *
  5747. xcb_glx_get_tex_envfv_data (const xcb_glx_get_tex_envfv_reply_t *R);
  5748. int
  5749. xcb_glx_get_tex_envfv_data_length (const xcb_glx_get_tex_envfv_reply_t *R);
  5750. xcb_generic_iterator_t
  5751. xcb_glx_get_tex_envfv_data_end (const xcb_glx_get_tex_envfv_reply_t *R);
  5752. /**
  5753. * Return the reply
  5754. * @param c The connection
  5755. * @param cookie The cookie
  5756. * @param e The xcb_generic_error_t supplied
  5757. *
  5758. * Returns the reply of the request asked by
  5759. *
  5760. * The parameter @p e supplied to this function must be NULL if
  5761. * xcb_glx_get_tex_envfv_unchecked(). is used.
  5762. * Otherwise, it stores the error if any.
  5763. *
  5764. * The returned value must be freed by the caller using free().
  5765. */
  5766. xcb_glx_get_tex_envfv_reply_t *
  5767. xcb_glx_get_tex_envfv_reply (xcb_connection_t *c,
  5768. xcb_glx_get_tex_envfv_cookie_t cookie /**< */,
  5769. xcb_generic_error_t **e);
  5770. int
  5771. xcb_glx_get_tex_enviv_sizeof (const void *_buffer);
  5772. /**
  5773. *
  5774. * @param c The connection
  5775. * @return A cookie
  5776. *
  5777. * Delivers a request to the X server.
  5778. *
  5779. */
  5780. xcb_glx_get_tex_enviv_cookie_t
  5781. xcb_glx_get_tex_enviv (xcb_connection_t *c,
  5782. xcb_glx_context_tag_t context_tag,
  5783. uint32_t target,
  5784. uint32_t pname);
  5785. /**
  5786. *
  5787. * @param c The connection
  5788. * @return A cookie
  5789. *
  5790. * Delivers a request to the X server.
  5791. *
  5792. * This form can be used only if the request will cause
  5793. * a reply to be generated. Any returned error will be
  5794. * placed in the event queue.
  5795. */
  5796. xcb_glx_get_tex_enviv_cookie_t
  5797. xcb_glx_get_tex_enviv_unchecked (xcb_connection_t *c,
  5798. xcb_glx_context_tag_t context_tag,
  5799. uint32_t target,
  5800. uint32_t pname);
  5801. int32_t *
  5802. xcb_glx_get_tex_enviv_data (const xcb_glx_get_tex_enviv_reply_t *R);
  5803. int
  5804. xcb_glx_get_tex_enviv_data_length (const xcb_glx_get_tex_enviv_reply_t *R);
  5805. xcb_generic_iterator_t
  5806. xcb_glx_get_tex_enviv_data_end (const xcb_glx_get_tex_enviv_reply_t *R);
  5807. /**
  5808. * Return the reply
  5809. * @param c The connection
  5810. * @param cookie The cookie
  5811. * @param e The xcb_generic_error_t supplied
  5812. *
  5813. * Returns the reply of the request asked by
  5814. *
  5815. * The parameter @p e supplied to this function must be NULL if
  5816. * xcb_glx_get_tex_enviv_unchecked(). is used.
  5817. * Otherwise, it stores the error if any.
  5818. *
  5819. * The returned value must be freed by the caller using free().
  5820. */
  5821. xcb_glx_get_tex_enviv_reply_t *
  5822. xcb_glx_get_tex_enviv_reply (xcb_connection_t *c,
  5823. xcb_glx_get_tex_enviv_cookie_t cookie /**< */,
  5824. xcb_generic_error_t **e);
  5825. int
  5826. xcb_glx_get_tex_gendv_sizeof (const void *_buffer);
  5827. /**
  5828. *
  5829. * @param c The connection
  5830. * @return A cookie
  5831. *
  5832. * Delivers a request to the X server.
  5833. *
  5834. */
  5835. xcb_glx_get_tex_gendv_cookie_t
  5836. xcb_glx_get_tex_gendv (xcb_connection_t *c,
  5837. xcb_glx_context_tag_t context_tag,
  5838. uint32_t coord,
  5839. uint32_t pname);
  5840. /**
  5841. *
  5842. * @param c The connection
  5843. * @return A cookie
  5844. *
  5845. * Delivers a request to the X server.
  5846. *
  5847. * This form can be used only if the request will cause
  5848. * a reply to be generated. Any returned error will be
  5849. * placed in the event queue.
  5850. */
  5851. xcb_glx_get_tex_gendv_cookie_t
  5852. xcb_glx_get_tex_gendv_unchecked (xcb_connection_t *c,
  5853. xcb_glx_context_tag_t context_tag,
  5854. uint32_t coord,
  5855. uint32_t pname);
  5856. xcb_glx_float64_t *
  5857. xcb_glx_get_tex_gendv_data (const xcb_glx_get_tex_gendv_reply_t *R);
  5858. int
  5859. xcb_glx_get_tex_gendv_data_length (const xcb_glx_get_tex_gendv_reply_t *R);
  5860. xcb_generic_iterator_t
  5861. xcb_glx_get_tex_gendv_data_end (const xcb_glx_get_tex_gendv_reply_t *R);
  5862. /**
  5863. * Return the reply
  5864. * @param c The connection
  5865. * @param cookie The cookie
  5866. * @param e The xcb_generic_error_t supplied
  5867. *
  5868. * Returns the reply of the request asked by
  5869. *
  5870. * The parameter @p e supplied to this function must be NULL if
  5871. * xcb_glx_get_tex_gendv_unchecked(). is used.
  5872. * Otherwise, it stores the error if any.
  5873. *
  5874. * The returned value must be freed by the caller using free().
  5875. */
  5876. xcb_glx_get_tex_gendv_reply_t *
  5877. xcb_glx_get_tex_gendv_reply (xcb_connection_t *c,
  5878. xcb_glx_get_tex_gendv_cookie_t cookie /**< */,
  5879. xcb_generic_error_t **e);
  5880. int
  5881. xcb_glx_get_tex_genfv_sizeof (const void *_buffer);
  5882. /**
  5883. *
  5884. * @param c The connection
  5885. * @return A cookie
  5886. *
  5887. * Delivers a request to the X server.
  5888. *
  5889. */
  5890. xcb_glx_get_tex_genfv_cookie_t
  5891. xcb_glx_get_tex_genfv (xcb_connection_t *c,
  5892. xcb_glx_context_tag_t context_tag,
  5893. uint32_t coord,
  5894. uint32_t pname);
  5895. /**
  5896. *
  5897. * @param c The connection
  5898. * @return A cookie
  5899. *
  5900. * Delivers a request to the X server.
  5901. *
  5902. * This form can be used only if the request will cause
  5903. * a reply to be generated. Any returned error will be
  5904. * placed in the event queue.
  5905. */
  5906. xcb_glx_get_tex_genfv_cookie_t
  5907. xcb_glx_get_tex_genfv_unchecked (xcb_connection_t *c,
  5908. xcb_glx_context_tag_t context_tag,
  5909. uint32_t coord,
  5910. uint32_t pname);
  5911. xcb_glx_float32_t *
  5912. xcb_glx_get_tex_genfv_data (const xcb_glx_get_tex_genfv_reply_t *R);
  5913. int
  5914. xcb_glx_get_tex_genfv_data_length (const xcb_glx_get_tex_genfv_reply_t *R);
  5915. xcb_generic_iterator_t
  5916. xcb_glx_get_tex_genfv_data_end (const xcb_glx_get_tex_genfv_reply_t *R);
  5917. /**
  5918. * Return the reply
  5919. * @param c The connection
  5920. * @param cookie The cookie
  5921. * @param e The xcb_generic_error_t supplied
  5922. *
  5923. * Returns the reply of the request asked by
  5924. *
  5925. * The parameter @p e supplied to this function must be NULL if
  5926. * xcb_glx_get_tex_genfv_unchecked(). is used.
  5927. * Otherwise, it stores the error if any.
  5928. *
  5929. * The returned value must be freed by the caller using free().
  5930. */
  5931. xcb_glx_get_tex_genfv_reply_t *
  5932. xcb_glx_get_tex_genfv_reply (xcb_connection_t *c,
  5933. xcb_glx_get_tex_genfv_cookie_t cookie /**< */,
  5934. xcb_generic_error_t **e);
  5935. int
  5936. xcb_glx_get_tex_geniv_sizeof (const void *_buffer);
  5937. /**
  5938. *
  5939. * @param c The connection
  5940. * @return A cookie
  5941. *
  5942. * Delivers a request to the X server.
  5943. *
  5944. */
  5945. xcb_glx_get_tex_geniv_cookie_t
  5946. xcb_glx_get_tex_geniv (xcb_connection_t *c,
  5947. xcb_glx_context_tag_t context_tag,
  5948. uint32_t coord,
  5949. uint32_t pname);
  5950. /**
  5951. *
  5952. * @param c The connection
  5953. * @return A cookie
  5954. *
  5955. * Delivers a request to the X server.
  5956. *
  5957. * This form can be used only if the request will cause
  5958. * a reply to be generated. Any returned error will be
  5959. * placed in the event queue.
  5960. */
  5961. xcb_glx_get_tex_geniv_cookie_t
  5962. xcb_glx_get_tex_geniv_unchecked (xcb_connection_t *c,
  5963. xcb_glx_context_tag_t context_tag,
  5964. uint32_t coord,
  5965. uint32_t pname);
  5966. int32_t *
  5967. xcb_glx_get_tex_geniv_data (const xcb_glx_get_tex_geniv_reply_t *R);
  5968. int
  5969. xcb_glx_get_tex_geniv_data_length (const xcb_glx_get_tex_geniv_reply_t *R);
  5970. xcb_generic_iterator_t
  5971. xcb_glx_get_tex_geniv_data_end (const xcb_glx_get_tex_geniv_reply_t *R);
  5972. /**
  5973. * Return the reply
  5974. * @param c The connection
  5975. * @param cookie The cookie
  5976. * @param e The xcb_generic_error_t supplied
  5977. *
  5978. * Returns the reply of the request asked by
  5979. *
  5980. * The parameter @p e supplied to this function must be NULL if
  5981. * xcb_glx_get_tex_geniv_unchecked(). is used.
  5982. * Otherwise, it stores the error if any.
  5983. *
  5984. * The returned value must be freed by the caller using free().
  5985. */
  5986. xcb_glx_get_tex_geniv_reply_t *
  5987. xcb_glx_get_tex_geniv_reply (xcb_connection_t *c,
  5988. xcb_glx_get_tex_geniv_cookie_t cookie /**< */,
  5989. xcb_generic_error_t **e);
  5990. int
  5991. xcb_glx_get_tex_image_sizeof (const void *_buffer);
  5992. /**
  5993. *
  5994. * @param c The connection
  5995. * @return A cookie
  5996. *
  5997. * Delivers a request to the X server.
  5998. *
  5999. */
  6000. xcb_glx_get_tex_image_cookie_t
  6001. xcb_glx_get_tex_image (xcb_connection_t *c,
  6002. xcb_glx_context_tag_t context_tag,
  6003. uint32_t target,
  6004. int32_t level,
  6005. uint32_t format,
  6006. uint32_t type,
  6007. uint8_t swap_bytes);
  6008. /**
  6009. *
  6010. * @param c The connection
  6011. * @return A cookie
  6012. *
  6013. * Delivers a request to the X server.
  6014. *
  6015. * This form can be used only if the request will cause
  6016. * a reply to be generated. Any returned error will be
  6017. * placed in the event queue.
  6018. */
  6019. xcb_glx_get_tex_image_cookie_t
  6020. xcb_glx_get_tex_image_unchecked (xcb_connection_t *c,
  6021. xcb_glx_context_tag_t context_tag,
  6022. uint32_t target,
  6023. int32_t level,
  6024. uint32_t format,
  6025. uint32_t type,
  6026. uint8_t swap_bytes);
  6027. uint8_t *
  6028. xcb_glx_get_tex_image_data (const xcb_glx_get_tex_image_reply_t *R);
  6029. int
  6030. xcb_glx_get_tex_image_data_length (const xcb_glx_get_tex_image_reply_t *R);
  6031. xcb_generic_iterator_t
  6032. xcb_glx_get_tex_image_data_end (const xcb_glx_get_tex_image_reply_t *R);
  6033. /**
  6034. * Return the reply
  6035. * @param c The connection
  6036. * @param cookie The cookie
  6037. * @param e The xcb_generic_error_t supplied
  6038. *
  6039. * Returns the reply of the request asked by
  6040. *
  6041. * The parameter @p e supplied to this function must be NULL if
  6042. * xcb_glx_get_tex_image_unchecked(). is used.
  6043. * Otherwise, it stores the error if any.
  6044. *
  6045. * The returned value must be freed by the caller using free().
  6046. */
  6047. xcb_glx_get_tex_image_reply_t *
  6048. xcb_glx_get_tex_image_reply (xcb_connection_t *c,
  6049. xcb_glx_get_tex_image_cookie_t cookie /**< */,
  6050. xcb_generic_error_t **e);
  6051. int
  6052. xcb_glx_get_tex_parameterfv_sizeof (const void *_buffer);
  6053. /**
  6054. *
  6055. * @param c The connection
  6056. * @return A cookie
  6057. *
  6058. * Delivers a request to the X server.
  6059. *
  6060. */
  6061. xcb_glx_get_tex_parameterfv_cookie_t
  6062. xcb_glx_get_tex_parameterfv (xcb_connection_t *c,
  6063. xcb_glx_context_tag_t context_tag,
  6064. uint32_t target,
  6065. uint32_t pname);
  6066. /**
  6067. *
  6068. * @param c The connection
  6069. * @return A cookie
  6070. *
  6071. * Delivers a request to the X server.
  6072. *
  6073. * This form can be used only if the request will cause
  6074. * a reply to be generated. Any returned error will be
  6075. * placed in the event queue.
  6076. */
  6077. xcb_glx_get_tex_parameterfv_cookie_t
  6078. xcb_glx_get_tex_parameterfv_unchecked (xcb_connection_t *c,
  6079. xcb_glx_context_tag_t context_tag,
  6080. uint32_t target,
  6081. uint32_t pname);
  6082. xcb_glx_float32_t *
  6083. xcb_glx_get_tex_parameterfv_data (const xcb_glx_get_tex_parameterfv_reply_t *R);
  6084. int
  6085. xcb_glx_get_tex_parameterfv_data_length (const xcb_glx_get_tex_parameterfv_reply_t *R);
  6086. xcb_generic_iterator_t
  6087. xcb_glx_get_tex_parameterfv_data_end (const xcb_glx_get_tex_parameterfv_reply_t *R);
  6088. /**
  6089. * Return the reply
  6090. * @param c The connection
  6091. * @param cookie The cookie
  6092. * @param e The xcb_generic_error_t supplied
  6093. *
  6094. * Returns the reply of the request asked by
  6095. *
  6096. * The parameter @p e supplied to this function must be NULL if
  6097. * xcb_glx_get_tex_parameterfv_unchecked(). is used.
  6098. * Otherwise, it stores the error if any.
  6099. *
  6100. * The returned value must be freed by the caller using free().
  6101. */
  6102. xcb_glx_get_tex_parameterfv_reply_t *
  6103. xcb_glx_get_tex_parameterfv_reply (xcb_connection_t *c,
  6104. xcb_glx_get_tex_parameterfv_cookie_t cookie /**< */,
  6105. xcb_generic_error_t **e);
  6106. int
  6107. xcb_glx_get_tex_parameteriv_sizeof (const void *_buffer);
  6108. /**
  6109. *
  6110. * @param c The connection
  6111. * @return A cookie
  6112. *
  6113. * Delivers a request to the X server.
  6114. *
  6115. */
  6116. xcb_glx_get_tex_parameteriv_cookie_t
  6117. xcb_glx_get_tex_parameteriv (xcb_connection_t *c,
  6118. xcb_glx_context_tag_t context_tag,
  6119. uint32_t target,
  6120. uint32_t pname);
  6121. /**
  6122. *
  6123. * @param c The connection
  6124. * @return A cookie
  6125. *
  6126. * Delivers a request to the X server.
  6127. *
  6128. * This form can be used only if the request will cause
  6129. * a reply to be generated. Any returned error will be
  6130. * placed in the event queue.
  6131. */
  6132. xcb_glx_get_tex_parameteriv_cookie_t
  6133. xcb_glx_get_tex_parameteriv_unchecked (xcb_connection_t *c,
  6134. xcb_glx_context_tag_t context_tag,
  6135. uint32_t target,
  6136. uint32_t pname);
  6137. int32_t *
  6138. xcb_glx_get_tex_parameteriv_data (const xcb_glx_get_tex_parameteriv_reply_t *R);
  6139. int
  6140. xcb_glx_get_tex_parameteriv_data_length (const xcb_glx_get_tex_parameteriv_reply_t *R);
  6141. xcb_generic_iterator_t
  6142. xcb_glx_get_tex_parameteriv_data_end (const xcb_glx_get_tex_parameteriv_reply_t *R);
  6143. /**
  6144. * Return the reply
  6145. * @param c The connection
  6146. * @param cookie The cookie
  6147. * @param e The xcb_generic_error_t supplied
  6148. *
  6149. * Returns the reply of the request asked by
  6150. *
  6151. * The parameter @p e supplied to this function must be NULL if
  6152. * xcb_glx_get_tex_parameteriv_unchecked(). is used.
  6153. * Otherwise, it stores the error if any.
  6154. *
  6155. * The returned value must be freed by the caller using free().
  6156. */
  6157. xcb_glx_get_tex_parameteriv_reply_t *
  6158. xcb_glx_get_tex_parameteriv_reply (xcb_connection_t *c,
  6159. xcb_glx_get_tex_parameteriv_cookie_t cookie /**< */,
  6160. xcb_generic_error_t **e);
  6161. int
  6162. xcb_glx_get_tex_level_parameterfv_sizeof (const void *_buffer);
  6163. /**
  6164. *
  6165. * @param c The connection
  6166. * @return A cookie
  6167. *
  6168. * Delivers a request to the X server.
  6169. *
  6170. */
  6171. xcb_glx_get_tex_level_parameterfv_cookie_t
  6172. xcb_glx_get_tex_level_parameterfv (xcb_connection_t *c,
  6173. xcb_glx_context_tag_t context_tag,
  6174. uint32_t target,
  6175. int32_t level,
  6176. uint32_t pname);
  6177. /**
  6178. *
  6179. * @param c The connection
  6180. * @return A cookie
  6181. *
  6182. * Delivers a request to the X server.
  6183. *
  6184. * This form can be used only if the request will cause
  6185. * a reply to be generated. Any returned error will be
  6186. * placed in the event queue.
  6187. */
  6188. xcb_glx_get_tex_level_parameterfv_cookie_t
  6189. xcb_glx_get_tex_level_parameterfv_unchecked (xcb_connection_t *c,
  6190. xcb_glx_context_tag_t context_tag,
  6191. uint32_t target,
  6192. int32_t level,
  6193. uint32_t pname);
  6194. xcb_glx_float32_t *
  6195. xcb_glx_get_tex_level_parameterfv_data (const xcb_glx_get_tex_level_parameterfv_reply_t *R);
  6196. int
  6197. xcb_glx_get_tex_level_parameterfv_data_length (const xcb_glx_get_tex_level_parameterfv_reply_t *R);
  6198. xcb_generic_iterator_t
  6199. xcb_glx_get_tex_level_parameterfv_data_end (const xcb_glx_get_tex_level_parameterfv_reply_t *R);
  6200. /**
  6201. * Return the reply
  6202. * @param c The connection
  6203. * @param cookie The cookie
  6204. * @param e The xcb_generic_error_t supplied
  6205. *
  6206. * Returns the reply of the request asked by
  6207. *
  6208. * The parameter @p e supplied to this function must be NULL if
  6209. * xcb_glx_get_tex_level_parameterfv_unchecked(). is used.
  6210. * Otherwise, it stores the error if any.
  6211. *
  6212. * The returned value must be freed by the caller using free().
  6213. */
  6214. xcb_glx_get_tex_level_parameterfv_reply_t *
  6215. xcb_glx_get_tex_level_parameterfv_reply (xcb_connection_t *c,
  6216. xcb_glx_get_tex_level_parameterfv_cookie_t cookie /**< */,
  6217. xcb_generic_error_t **e);
  6218. int
  6219. xcb_glx_get_tex_level_parameteriv_sizeof (const void *_buffer);
  6220. /**
  6221. *
  6222. * @param c The connection
  6223. * @return A cookie
  6224. *
  6225. * Delivers a request to the X server.
  6226. *
  6227. */
  6228. xcb_glx_get_tex_level_parameteriv_cookie_t
  6229. xcb_glx_get_tex_level_parameteriv (xcb_connection_t *c,
  6230. xcb_glx_context_tag_t context_tag,
  6231. uint32_t target,
  6232. int32_t level,
  6233. uint32_t pname);
  6234. /**
  6235. *
  6236. * @param c The connection
  6237. * @return A cookie
  6238. *
  6239. * Delivers a request to the X server.
  6240. *
  6241. * This form can be used only if the request will cause
  6242. * a reply to be generated. Any returned error will be
  6243. * placed in the event queue.
  6244. */
  6245. xcb_glx_get_tex_level_parameteriv_cookie_t
  6246. xcb_glx_get_tex_level_parameteriv_unchecked (xcb_connection_t *c,
  6247. xcb_glx_context_tag_t context_tag,
  6248. uint32_t target,
  6249. int32_t level,
  6250. uint32_t pname);
  6251. int32_t *
  6252. xcb_glx_get_tex_level_parameteriv_data (const xcb_glx_get_tex_level_parameteriv_reply_t *R);
  6253. int
  6254. xcb_glx_get_tex_level_parameteriv_data_length (const xcb_glx_get_tex_level_parameteriv_reply_t *R);
  6255. xcb_generic_iterator_t
  6256. xcb_glx_get_tex_level_parameteriv_data_end (const xcb_glx_get_tex_level_parameteriv_reply_t *R);
  6257. /**
  6258. * Return the reply
  6259. * @param c The connection
  6260. * @param cookie The cookie
  6261. * @param e The xcb_generic_error_t supplied
  6262. *
  6263. * Returns the reply of the request asked by
  6264. *
  6265. * The parameter @p e supplied to this function must be NULL if
  6266. * xcb_glx_get_tex_level_parameteriv_unchecked(). is used.
  6267. * Otherwise, it stores the error if any.
  6268. *
  6269. * The returned value must be freed by the caller using free().
  6270. */
  6271. xcb_glx_get_tex_level_parameteriv_reply_t *
  6272. xcb_glx_get_tex_level_parameteriv_reply (xcb_connection_t *c,
  6273. xcb_glx_get_tex_level_parameteriv_cookie_t cookie /**< */,
  6274. xcb_generic_error_t **e);
  6275. /**
  6276. *
  6277. * @param c The connection
  6278. * @return A cookie
  6279. *
  6280. * Delivers a request to the X server.
  6281. *
  6282. */
  6283. xcb_glx_is_enabled_cookie_t
  6284. xcb_glx_is_enabled (xcb_connection_t *c,
  6285. xcb_glx_context_tag_t context_tag,
  6286. uint32_t capability);
  6287. /**
  6288. *
  6289. * @param c The connection
  6290. * @return A cookie
  6291. *
  6292. * Delivers a request to the X server.
  6293. *
  6294. * This form can be used only if the request will cause
  6295. * a reply to be generated. Any returned error will be
  6296. * placed in the event queue.
  6297. */
  6298. xcb_glx_is_enabled_cookie_t
  6299. xcb_glx_is_enabled_unchecked (xcb_connection_t *c,
  6300. xcb_glx_context_tag_t context_tag,
  6301. uint32_t capability);
  6302. /**
  6303. * Return the reply
  6304. * @param c The connection
  6305. * @param cookie The cookie
  6306. * @param e The xcb_generic_error_t supplied
  6307. *
  6308. * Returns the reply of the request asked by
  6309. *
  6310. * The parameter @p e supplied to this function must be NULL if
  6311. * xcb_glx_is_enabled_unchecked(). is used.
  6312. * Otherwise, it stores the error if any.
  6313. *
  6314. * The returned value must be freed by the caller using free().
  6315. */
  6316. xcb_glx_is_enabled_reply_t *
  6317. xcb_glx_is_enabled_reply (xcb_connection_t *c,
  6318. xcb_glx_is_enabled_cookie_t cookie /**< */,
  6319. xcb_generic_error_t **e);
  6320. /**
  6321. *
  6322. * @param c The connection
  6323. * @return A cookie
  6324. *
  6325. * Delivers a request to the X server.
  6326. *
  6327. */
  6328. xcb_glx_is_list_cookie_t
  6329. xcb_glx_is_list (xcb_connection_t *c,
  6330. xcb_glx_context_tag_t context_tag,
  6331. uint32_t list);
  6332. /**
  6333. *
  6334. * @param c The connection
  6335. * @return A cookie
  6336. *
  6337. * Delivers a request to the X server.
  6338. *
  6339. * This form can be used only if the request will cause
  6340. * a reply to be generated. Any returned error will be
  6341. * placed in the event queue.
  6342. */
  6343. xcb_glx_is_list_cookie_t
  6344. xcb_glx_is_list_unchecked (xcb_connection_t *c,
  6345. xcb_glx_context_tag_t context_tag,
  6346. uint32_t list);
  6347. /**
  6348. * Return the reply
  6349. * @param c The connection
  6350. * @param cookie The cookie
  6351. * @param e The xcb_generic_error_t supplied
  6352. *
  6353. * Returns the reply of the request asked by
  6354. *
  6355. * The parameter @p e supplied to this function must be NULL if
  6356. * xcb_glx_is_list_unchecked(). is used.
  6357. * Otherwise, it stores the error if any.
  6358. *
  6359. * The returned value must be freed by the caller using free().
  6360. */
  6361. xcb_glx_is_list_reply_t *
  6362. xcb_glx_is_list_reply (xcb_connection_t *c,
  6363. xcb_glx_is_list_cookie_t cookie /**< */,
  6364. xcb_generic_error_t **e);
  6365. /**
  6366. *
  6367. * @param c The connection
  6368. * @return A cookie
  6369. *
  6370. * Delivers a request to the X server.
  6371. *
  6372. * This form can be used only if the request will not cause
  6373. * a reply to be generated. Any returned error will be
  6374. * saved for handling by xcb_request_check().
  6375. */
  6376. xcb_void_cookie_t
  6377. xcb_glx_flush_checked (xcb_connection_t *c,
  6378. xcb_glx_context_tag_t context_tag);
  6379. /**
  6380. *
  6381. * @param c The connection
  6382. * @return A cookie
  6383. *
  6384. * Delivers a request to the X server.
  6385. *
  6386. */
  6387. xcb_void_cookie_t
  6388. xcb_glx_flush (xcb_connection_t *c,
  6389. xcb_glx_context_tag_t context_tag);
  6390. int
  6391. xcb_glx_are_textures_resident_sizeof (const void *_buffer);
  6392. /**
  6393. *
  6394. * @param c The connection
  6395. * @return A cookie
  6396. *
  6397. * Delivers a request to the X server.
  6398. *
  6399. */
  6400. xcb_glx_are_textures_resident_cookie_t
  6401. xcb_glx_are_textures_resident (xcb_connection_t *c,
  6402. xcb_glx_context_tag_t context_tag,
  6403. int32_t n,
  6404. const uint32_t *textures);
  6405. /**
  6406. *
  6407. * @param c The connection
  6408. * @return A cookie
  6409. *
  6410. * Delivers a request to the X server.
  6411. *
  6412. * This form can be used only if the request will cause
  6413. * a reply to be generated. Any returned error will be
  6414. * placed in the event queue.
  6415. */
  6416. xcb_glx_are_textures_resident_cookie_t
  6417. xcb_glx_are_textures_resident_unchecked (xcb_connection_t *c,
  6418. xcb_glx_context_tag_t context_tag,
  6419. int32_t n,
  6420. const uint32_t *textures);
  6421. uint8_t *
  6422. xcb_glx_are_textures_resident_data (const xcb_glx_are_textures_resident_reply_t *R);
  6423. int
  6424. xcb_glx_are_textures_resident_data_length (const xcb_glx_are_textures_resident_reply_t *R);
  6425. xcb_generic_iterator_t
  6426. xcb_glx_are_textures_resident_data_end (const xcb_glx_are_textures_resident_reply_t *R);
  6427. /**
  6428. * Return the reply
  6429. * @param c The connection
  6430. * @param cookie The cookie
  6431. * @param e The xcb_generic_error_t supplied
  6432. *
  6433. * Returns the reply of the request asked by
  6434. *
  6435. * The parameter @p e supplied to this function must be NULL if
  6436. * xcb_glx_are_textures_resident_unchecked(). is used.
  6437. * Otherwise, it stores the error if any.
  6438. *
  6439. * The returned value must be freed by the caller using free().
  6440. */
  6441. xcb_glx_are_textures_resident_reply_t *
  6442. xcb_glx_are_textures_resident_reply (xcb_connection_t *c,
  6443. xcb_glx_are_textures_resident_cookie_t cookie /**< */,
  6444. xcb_generic_error_t **e);
  6445. int
  6446. xcb_glx_delete_textures_sizeof (const void *_buffer);
  6447. /**
  6448. *
  6449. * @param c The connection
  6450. * @return A cookie
  6451. *
  6452. * Delivers a request to the X server.
  6453. *
  6454. * This form can be used only if the request will not cause
  6455. * a reply to be generated. Any returned error will be
  6456. * saved for handling by xcb_request_check().
  6457. */
  6458. xcb_void_cookie_t
  6459. xcb_glx_delete_textures_checked (xcb_connection_t *c,
  6460. xcb_glx_context_tag_t context_tag,
  6461. int32_t n,
  6462. const uint32_t *textures);
  6463. /**
  6464. *
  6465. * @param c The connection
  6466. * @return A cookie
  6467. *
  6468. * Delivers a request to the X server.
  6469. *
  6470. */
  6471. xcb_void_cookie_t
  6472. xcb_glx_delete_textures (xcb_connection_t *c,
  6473. xcb_glx_context_tag_t context_tag,
  6474. int32_t n,
  6475. const uint32_t *textures);
  6476. uint32_t *
  6477. xcb_glx_delete_textures_textures (const xcb_glx_delete_textures_request_t *R);
  6478. int
  6479. xcb_glx_delete_textures_textures_length (const xcb_glx_delete_textures_request_t *R);
  6480. xcb_generic_iterator_t
  6481. xcb_glx_delete_textures_textures_end (const xcb_glx_delete_textures_request_t *R);
  6482. int
  6483. xcb_glx_gen_textures_sizeof (const void *_buffer);
  6484. /**
  6485. *
  6486. * @param c The connection
  6487. * @return A cookie
  6488. *
  6489. * Delivers a request to the X server.
  6490. *
  6491. */
  6492. xcb_glx_gen_textures_cookie_t
  6493. xcb_glx_gen_textures (xcb_connection_t *c,
  6494. xcb_glx_context_tag_t context_tag,
  6495. int32_t n);
  6496. /**
  6497. *
  6498. * @param c The connection
  6499. * @return A cookie
  6500. *
  6501. * Delivers a request to the X server.
  6502. *
  6503. * This form can be used only if the request will cause
  6504. * a reply to be generated. Any returned error will be
  6505. * placed in the event queue.
  6506. */
  6507. xcb_glx_gen_textures_cookie_t
  6508. xcb_glx_gen_textures_unchecked (xcb_connection_t *c,
  6509. xcb_glx_context_tag_t context_tag,
  6510. int32_t n);
  6511. uint32_t *
  6512. xcb_glx_gen_textures_data (const xcb_glx_gen_textures_reply_t *R);
  6513. int
  6514. xcb_glx_gen_textures_data_length (const xcb_glx_gen_textures_reply_t *R);
  6515. xcb_generic_iterator_t
  6516. xcb_glx_gen_textures_data_end (const xcb_glx_gen_textures_reply_t *R);
  6517. /**
  6518. * Return the reply
  6519. * @param c The connection
  6520. * @param cookie The cookie
  6521. * @param e The xcb_generic_error_t supplied
  6522. *
  6523. * Returns the reply of the request asked by
  6524. *
  6525. * The parameter @p e supplied to this function must be NULL if
  6526. * xcb_glx_gen_textures_unchecked(). is used.
  6527. * Otherwise, it stores the error if any.
  6528. *
  6529. * The returned value must be freed by the caller using free().
  6530. */
  6531. xcb_glx_gen_textures_reply_t *
  6532. xcb_glx_gen_textures_reply (xcb_connection_t *c,
  6533. xcb_glx_gen_textures_cookie_t cookie /**< */,
  6534. xcb_generic_error_t **e);
  6535. /**
  6536. *
  6537. * @param c The connection
  6538. * @return A cookie
  6539. *
  6540. * Delivers a request to the X server.
  6541. *
  6542. */
  6543. xcb_glx_is_texture_cookie_t
  6544. xcb_glx_is_texture (xcb_connection_t *c,
  6545. xcb_glx_context_tag_t context_tag,
  6546. uint32_t texture);
  6547. /**
  6548. *
  6549. * @param c The connection
  6550. * @return A cookie
  6551. *
  6552. * Delivers a request to the X server.
  6553. *
  6554. * This form can be used only if the request will cause
  6555. * a reply to be generated. Any returned error will be
  6556. * placed in the event queue.
  6557. */
  6558. xcb_glx_is_texture_cookie_t
  6559. xcb_glx_is_texture_unchecked (xcb_connection_t *c,
  6560. xcb_glx_context_tag_t context_tag,
  6561. uint32_t texture);
  6562. /**
  6563. * Return the reply
  6564. * @param c The connection
  6565. * @param cookie The cookie
  6566. * @param e The xcb_generic_error_t supplied
  6567. *
  6568. * Returns the reply of the request asked by
  6569. *
  6570. * The parameter @p e supplied to this function must be NULL if
  6571. * xcb_glx_is_texture_unchecked(). is used.
  6572. * Otherwise, it stores the error if any.
  6573. *
  6574. * The returned value must be freed by the caller using free().
  6575. */
  6576. xcb_glx_is_texture_reply_t *
  6577. xcb_glx_is_texture_reply (xcb_connection_t *c,
  6578. xcb_glx_is_texture_cookie_t cookie /**< */,
  6579. xcb_generic_error_t **e);
  6580. int
  6581. xcb_glx_get_color_table_sizeof (const void *_buffer);
  6582. /**
  6583. *
  6584. * @param c The connection
  6585. * @return A cookie
  6586. *
  6587. * Delivers a request to the X server.
  6588. *
  6589. */
  6590. xcb_glx_get_color_table_cookie_t
  6591. xcb_glx_get_color_table (xcb_connection_t *c,
  6592. xcb_glx_context_tag_t context_tag,
  6593. uint32_t target,
  6594. uint32_t format,
  6595. uint32_t type,
  6596. uint8_t swap_bytes);
  6597. /**
  6598. *
  6599. * @param c The connection
  6600. * @return A cookie
  6601. *
  6602. * Delivers a request to the X server.
  6603. *
  6604. * This form can be used only if the request will cause
  6605. * a reply to be generated. Any returned error will be
  6606. * placed in the event queue.
  6607. */
  6608. xcb_glx_get_color_table_cookie_t
  6609. xcb_glx_get_color_table_unchecked (xcb_connection_t *c,
  6610. xcb_glx_context_tag_t context_tag,
  6611. uint32_t target,
  6612. uint32_t format,
  6613. uint32_t type,
  6614. uint8_t swap_bytes);
  6615. uint8_t *
  6616. xcb_glx_get_color_table_data (const xcb_glx_get_color_table_reply_t *R);
  6617. int
  6618. xcb_glx_get_color_table_data_length (const xcb_glx_get_color_table_reply_t *R);
  6619. xcb_generic_iterator_t
  6620. xcb_glx_get_color_table_data_end (const xcb_glx_get_color_table_reply_t *R);
  6621. /**
  6622. * Return the reply
  6623. * @param c The connection
  6624. * @param cookie The cookie
  6625. * @param e The xcb_generic_error_t supplied
  6626. *
  6627. * Returns the reply of the request asked by
  6628. *
  6629. * The parameter @p e supplied to this function must be NULL if
  6630. * xcb_glx_get_color_table_unchecked(). is used.
  6631. * Otherwise, it stores the error if any.
  6632. *
  6633. * The returned value must be freed by the caller using free().
  6634. */
  6635. xcb_glx_get_color_table_reply_t *
  6636. xcb_glx_get_color_table_reply (xcb_connection_t *c,
  6637. xcb_glx_get_color_table_cookie_t cookie /**< */,
  6638. xcb_generic_error_t **e);
  6639. int
  6640. xcb_glx_get_color_table_parameterfv_sizeof (const void *_buffer);
  6641. /**
  6642. *
  6643. * @param c The connection
  6644. * @return A cookie
  6645. *
  6646. * Delivers a request to the X server.
  6647. *
  6648. */
  6649. xcb_glx_get_color_table_parameterfv_cookie_t
  6650. xcb_glx_get_color_table_parameterfv (xcb_connection_t *c,
  6651. xcb_glx_context_tag_t context_tag,
  6652. uint32_t target,
  6653. uint32_t pname);
  6654. /**
  6655. *
  6656. * @param c The connection
  6657. * @return A cookie
  6658. *
  6659. * Delivers a request to the X server.
  6660. *
  6661. * This form can be used only if the request will cause
  6662. * a reply to be generated. Any returned error will be
  6663. * placed in the event queue.
  6664. */
  6665. xcb_glx_get_color_table_parameterfv_cookie_t
  6666. xcb_glx_get_color_table_parameterfv_unchecked (xcb_connection_t *c,
  6667. xcb_glx_context_tag_t context_tag,
  6668. uint32_t target,
  6669. uint32_t pname);
  6670. xcb_glx_float32_t *
  6671. xcb_glx_get_color_table_parameterfv_data (const xcb_glx_get_color_table_parameterfv_reply_t *R);
  6672. int
  6673. xcb_glx_get_color_table_parameterfv_data_length (const xcb_glx_get_color_table_parameterfv_reply_t *R);
  6674. xcb_generic_iterator_t
  6675. xcb_glx_get_color_table_parameterfv_data_end (const xcb_glx_get_color_table_parameterfv_reply_t *R);
  6676. /**
  6677. * Return the reply
  6678. * @param c The connection
  6679. * @param cookie The cookie
  6680. * @param e The xcb_generic_error_t supplied
  6681. *
  6682. * Returns the reply of the request asked by
  6683. *
  6684. * The parameter @p e supplied to this function must be NULL if
  6685. * xcb_glx_get_color_table_parameterfv_unchecked(). is used.
  6686. * Otherwise, it stores the error if any.
  6687. *
  6688. * The returned value must be freed by the caller using free().
  6689. */
  6690. xcb_glx_get_color_table_parameterfv_reply_t *
  6691. xcb_glx_get_color_table_parameterfv_reply (xcb_connection_t *c,
  6692. xcb_glx_get_color_table_parameterfv_cookie_t cookie /**< */,
  6693. xcb_generic_error_t **e);
  6694. int
  6695. xcb_glx_get_color_table_parameteriv_sizeof (const void *_buffer);
  6696. /**
  6697. *
  6698. * @param c The connection
  6699. * @return A cookie
  6700. *
  6701. * Delivers a request to the X server.
  6702. *
  6703. */
  6704. xcb_glx_get_color_table_parameteriv_cookie_t
  6705. xcb_glx_get_color_table_parameteriv (xcb_connection_t *c,
  6706. xcb_glx_context_tag_t context_tag,
  6707. uint32_t target,
  6708. uint32_t pname);
  6709. /**
  6710. *
  6711. * @param c The connection
  6712. * @return A cookie
  6713. *
  6714. * Delivers a request to the X server.
  6715. *
  6716. * This form can be used only if the request will cause
  6717. * a reply to be generated. Any returned error will be
  6718. * placed in the event queue.
  6719. */
  6720. xcb_glx_get_color_table_parameteriv_cookie_t
  6721. xcb_glx_get_color_table_parameteriv_unchecked (xcb_connection_t *c,
  6722. xcb_glx_context_tag_t context_tag,
  6723. uint32_t target,
  6724. uint32_t pname);
  6725. int32_t *
  6726. xcb_glx_get_color_table_parameteriv_data (const xcb_glx_get_color_table_parameteriv_reply_t *R);
  6727. int
  6728. xcb_glx_get_color_table_parameteriv_data_length (const xcb_glx_get_color_table_parameteriv_reply_t *R);
  6729. xcb_generic_iterator_t
  6730. xcb_glx_get_color_table_parameteriv_data_end (const xcb_glx_get_color_table_parameteriv_reply_t *R);
  6731. /**
  6732. * Return the reply
  6733. * @param c The connection
  6734. * @param cookie The cookie
  6735. * @param e The xcb_generic_error_t supplied
  6736. *
  6737. * Returns the reply of the request asked by
  6738. *
  6739. * The parameter @p e supplied to this function must be NULL if
  6740. * xcb_glx_get_color_table_parameteriv_unchecked(). is used.
  6741. * Otherwise, it stores the error if any.
  6742. *
  6743. * The returned value must be freed by the caller using free().
  6744. */
  6745. xcb_glx_get_color_table_parameteriv_reply_t *
  6746. xcb_glx_get_color_table_parameteriv_reply (xcb_connection_t *c,
  6747. xcb_glx_get_color_table_parameteriv_cookie_t cookie /**< */,
  6748. xcb_generic_error_t **e);
  6749. int
  6750. xcb_glx_get_convolution_filter_sizeof (const void *_buffer);
  6751. /**
  6752. *
  6753. * @param c The connection
  6754. * @return A cookie
  6755. *
  6756. * Delivers a request to the X server.
  6757. *
  6758. */
  6759. xcb_glx_get_convolution_filter_cookie_t
  6760. xcb_glx_get_convolution_filter (xcb_connection_t *c,
  6761. xcb_glx_context_tag_t context_tag,
  6762. uint32_t target,
  6763. uint32_t format,
  6764. uint32_t type,
  6765. uint8_t swap_bytes);
  6766. /**
  6767. *
  6768. * @param c The connection
  6769. * @return A cookie
  6770. *
  6771. * Delivers a request to the X server.
  6772. *
  6773. * This form can be used only if the request will cause
  6774. * a reply to be generated. Any returned error will be
  6775. * placed in the event queue.
  6776. */
  6777. xcb_glx_get_convolution_filter_cookie_t
  6778. xcb_glx_get_convolution_filter_unchecked (xcb_connection_t *c,
  6779. xcb_glx_context_tag_t context_tag,
  6780. uint32_t target,
  6781. uint32_t format,
  6782. uint32_t type,
  6783. uint8_t swap_bytes);
  6784. uint8_t *
  6785. xcb_glx_get_convolution_filter_data (const xcb_glx_get_convolution_filter_reply_t *R);
  6786. int
  6787. xcb_glx_get_convolution_filter_data_length (const xcb_glx_get_convolution_filter_reply_t *R);
  6788. xcb_generic_iterator_t
  6789. xcb_glx_get_convolution_filter_data_end (const xcb_glx_get_convolution_filter_reply_t *R);
  6790. /**
  6791. * Return the reply
  6792. * @param c The connection
  6793. * @param cookie The cookie
  6794. * @param e The xcb_generic_error_t supplied
  6795. *
  6796. * Returns the reply of the request asked by
  6797. *
  6798. * The parameter @p e supplied to this function must be NULL if
  6799. * xcb_glx_get_convolution_filter_unchecked(). is used.
  6800. * Otherwise, it stores the error if any.
  6801. *
  6802. * The returned value must be freed by the caller using free().
  6803. */
  6804. xcb_glx_get_convolution_filter_reply_t *
  6805. xcb_glx_get_convolution_filter_reply (xcb_connection_t *c,
  6806. xcb_glx_get_convolution_filter_cookie_t cookie /**< */,
  6807. xcb_generic_error_t **e);
  6808. int
  6809. xcb_glx_get_convolution_parameterfv_sizeof (const void *_buffer);
  6810. /**
  6811. *
  6812. * @param c The connection
  6813. * @return A cookie
  6814. *
  6815. * Delivers a request to the X server.
  6816. *
  6817. */
  6818. xcb_glx_get_convolution_parameterfv_cookie_t
  6819. xcb_glx_get_convolution_parameterfv (xcb_connection_t *c,
  6820. xcb_glx_context_tag_t context_tag,
  6821. uint32_t target,
  6822. uint32_t pname);
  6823. /**
  6824. *
  6825. * @param c The connection
  6826. * @return A cookie
  6827. *
  6828. * Delivers a request to the X server.
  6829. *
  6830. * This form can be used only if the request will cause
  6831. * a reply to be generated. Any returned error will be
  6832. * placed in the event queue.
  6833. */
  6834. xcb_glx_get_convolution_parameterfv_cookie_t
  6835. xcb_glx_get_convolution_parameterfv_unchecked (xcb_connection_t *c,
  6836. xcb_glx_context_tag_t context_tag,
  6837. uint32_t target,
  6838. uint32_t pname);
  6839. xcb_glx_float32_t *
  6840. xcb_glx_get_convolution_parameterfv_data (const xcb_glx_get_convolution_parameterfv_reply_t *R);
  6841. int
  6842. xcb_glx_get_convolution_parameterfv_data_length (const xcb_glx_get_convolution_parameterfv_reply_t *R);
  6843. xcb_generic_iterator_t
  6844. xcb_glx_get_convolution_parameterfv_data_end (const xcb_glx_get_convolution_parameterfv_reply_t *R);
  6845. /**
  6846. * Return the reply
  6847. * @param c The connection
  6848. * @param cookie The cookie
  6849. * @param e The xcb_generic_error_t supplied
  6850. *
  6851. * Returns the reply of the request asked by
  6852. *
  6853. * The parameter @p e supplied to this function must be NULL if
  6854. * xcb_glx_get_convolution_parameterfv_unchecked(). is used.
  6855. * Otherwise, it stores the error if any.
  6856. *
  6857. * The returned value must be freed by the caller using free().
  6858. */
  6859. xcb_glx_get_convolution_parameterfv_reply_t *
  6860. xcb_glx_get_convolution_parameterfv_reply (xcb_connection_t *c,
  6861. xcb_glx_get_convolution_parameterfv_cookie_t cookie /**< */,
  6862. xcb_generic_error_t **e);
  6863. int
  6864. xcb_glx_get_convolution_parameteriv_sizeof (const void *_buffer);
  6865. /**
  6866. *
  6867. * @param c The connection
  6868. * @return A cookie
  6869. *
  6870. * Delivers a request to the X server.
  6871. *
  6872. */
  6873. xcb_glx_get_convolution_parameteriv_cookie_t
  6874. xcb_glx_get_convolution_parameteriv (xcb_connection_t *c,
  6875. xcb_glx_context_tag_t context_tag,
  6876. uint32_t target,
  6877. uint32_t pname);
  6878. /**
  6879. *
  6880. * @param c The connection
  6881. * @return A cookie
  6882. *
  6883. * Delivers a request to the X server.
  6884. *
  6885. * This form can be used only if the request will cause
  6886. * a reply to be generated. Any returned error will be
  6887. * placed in the event queue.
  6888. */
  6889. xcb_glx_get_convolution_parameteriv_cookie_t
  6890. xcb_glx_get_convolution_parameteriv_unchecked (xcb_connection_t *c,
  6891. xcb_glx_context_tag_t context_tag,
  6892. uint32_t target,
  6893. uint32_t pname);
  6894. int32_t *
  6895. xcb_glx_get_convolution_parameteriv_data (const xcb_glx_get_convolution_parameteriv_reply_t *R);
  6896. int
  6897. xcb_glx_get_convolution_parameteriv_data_length (const xcb_glx_get_convolution_parameteriv_reply_t *R);
  6898. xcb_generic_iterator_t
  6899. xcb_glx_get_convolution_parameteriv_data_end (const xcb_glx_get_convolution_parameteriv_reply_t *R);
  6900. /**
  6901. * Return the reply
  6902. * @param c The connection
  6903. * @param cookie The cookie
  6904. * @param e The xcb_generic_error_t supplied
  6905. *
  6906. * Returns the reply of the request asked by
  6907. *
  6908. * The parameter @p e supplied to this function must be NULL if
  6909. * xcb_glx_get_convolution_parameteriv_unchecked(). is used.
  6910. * Otherwise, it stores the error if any.
  6911. *
  6912. * The returned value must be freed by the caller using free().
  6913. */
  6914. xcb_glx_get_convolution_parameteriv_reply_t *
  6915. xcb_glx_get_convolution_parameteriv_reply (xcb_connection_t *c,
  6916. xcb_glx_get_convolution_parameteriv_cookie_t cookie /**< */,
  6917. xcb_generic_error_t **e);
  6918. int
  6919. xcb_glx_get_separable_filter_sizeof (const void *_buffer);
  6920. /**
  6921. *
  6922. * @param c The connection
  6923. * @return A cookie
  6924. *
  6925. * Delivers a request to the X server.
  6926. *
  6927. */
  6928. xcb_glx_get_separable_filter_cookie_t
  6929. xcb_glx_get_separable_filter (xcb_connection_t *c,
  6930. xcb_glx_context_tag_t context_tag,
  6931. uint32_t target,
  6932. uint32_t format,
  6933. uint32_t type,
  6934. uint8_t swap_bytes);
  6935. /**
  6936. *
  6937. * @param c The connection
  6938. * @return A cookie
  6939. *
  6940. * Delivers a request to the X server.
  6941. *
  6942. * This form can be used only if the request will cause
  6943. * a reply to be generated. Any returned error will be
  6944. * placed in the event queue.
  6945. */
  6946. xcb_glx_get_separable_filter_cookie_t
  6947. xcb_glx_get_separable_filter_unchecked (xcb_connection_t *c,
  6948. xcb_glx_context_tag_t context_tag,
  6949. uint32_t target,
  6950. uint32_t format,
  6951. uint32_t type,
  6952. uint8_t swap_bytes);
  6953. uint8_t *
  6954. xcb_glx_get_separable_filter_rows_and_cols (const xcb_glx_get_separable_filter_reply_t *R);
  6955. int
  6956. xcb_glx_get_separable_filter_rows_and_cols_length (const xcb_glx_get_separable_filter_reply_t *R);
  6957. xcb_generic_iterator_t
  6958. xcb_glx_get_separable_filter_rows_and_cols_end (const xcb_glx_get_separable_filter_reply_t *R);
  6959. /**
  6960. * Return the reply
  6961. * @param c The connection
  6962. * @param cookie The cookie
  6963. * @param e The xcb_generic_error_t supplied
  6964. *
  6965. * Returns the reply of the request asked by
  6966. *
  6967. * The parameter @p e supplied to this function must be NULL if
  6968. * xcb_glx_get_separable_filter_unchecked(). is used.
  6969. * Otherwise, it stores the error if any.
  6970. *
  6971. * The returned value must be freed by the caller using free().
  6972. */
  6973. xcb_glx_get_separable_filter_reply_t *
  6974. xcb_glx_get_separable_filter_reply (xcb_connection_t *c,
  6975. xcb_glx_get_separable_filter_cookie_t cookie /**< */,
  6976. xcb_generic_error_t **e);
  6977. int
  6978. xcb_glx_get_histogram_sizeof (const void *_buffer);
  6979. /**
  6980. *
  6981. * @param c The connection
  6982. * @return A cookie
  6983. *
  6984. * Delivers a request to the X server.
  6985. *
  6986. */
  6987. xcb_glx_get_histogram_cookie_t
  6988. xcb_glx_get_histogram (xcb_connection_t *c,
  6989. xcb_glx_context_tag_t context_tag,
  6990. uint32_t target,
  6991. uint32_t format,
  6992. uint32_t type,
  6993. uint8_t swap_bytes,
  6994. uint8_t reset);
  6995. /**
  6996. *
  6997. * @param c The connection
  6998. * @return A cookie
  6999. *
  7000. * Delivers a request to the X server.
  7001. *
  7002. * This form can be used only if the request will cause
  7003. * a reply to be generated. Any returned error will be
  7004. * placed in the event queue.
  7005. */
  7006. xcb_glx_get_histogram_cookie_t
  7007. xcb_glx_get_histogram_unchecked (xcb_connection_t *c,
  7008. xcb_glx_context_tag_t context_tag,
  7009. uint32_t target,
  7010. uint32_t format,
  7011. uint32_t type,
  7012. uint8_t swap_bytes,
  7013. uint8_t reset);
  7014. uint8_t *
  7015. xcb_glx_get_histogram_data (const xcb_glx_get_histogram_reply_t *R);
  7016. int
  7017. xcb_glx_get_histogram_data_length (const xcb_glx_get_histogram_reply_t *R);
  7018. xcb_generic_iterator_t
  7019. xcb_glx_get_histogram_data_end (const xcb_glx_get_histogram_reply_t *R);
  7020. /**
  7021. * Return the reply
  7022. * @param c The connection
  7023. * @param cookie The cookie
  7024. * @param e The xcb_generic_error_t supplied
  7025. *
  7026. * Returns the reply of the request asked by
  7027. *
  7028. * The parameter @p e supplied to this function must be NULL if
  7029. * xcb_glx_get_histogram_unchecked(). is used.
  7030. * Otherwise, it stores the error if any.
  7031. *
  7032. * The returned value must be freed by the caller using free().
  7033. */
  7034. xcb_glx_get_histogram_reply_t *
  7035. xcb_glx_get_histogram_reply (xcb_connection_t *c,
  7036. xcb_glx_get_histogram_cookie_t cookie /**< */,
  7037. xcb_generic_error_t **e);
  7038. int
  7039. xcb_glx_get_histogram_parameterfv_sizeof (const void *_buffer);
  7040. /**
  7041. *
  7042. * @param c The connection
  7043. * @return A cookie
  7044. *
  7045. * Delivers a request to the X server.
  7046. *
  7047. */
  7048. xcb_glx_get_histogram_parameterfv_cookie_t
  7049. xcb_glx_get_histogram_parameterfv (xcb_connection_t *c,
  7050. xcb_glx_context_tag_t context_tag,
  7051. uint32_t target,
  7052. uint32_t pname);
  7053. /**
  7054. *
  7055. * @param c The connection
  7056. * @return A cookie
  7057. *
  7058. * Delivers a request to the X server.
  7059. *
  7060. * This form can be used only if the request will cause
  7061. * a reply to be generated. Any returned error will be
  7062. * placed in the event queue.
  7063. */
  7064. xcb_glx_get_histogram_parameterfv_cookie_t
  7065. xcb_glx_get_histogram_parameterfv_unchecked (xcb_connection_t *c,
  7066. xcb_glx_context_tag_t context_tag,
  7067. uint32_t target,
  7068. uint32_t pname);
  7069. xcb_glx_float32_t *
  7070. xcb_glx_get_histogram_parameterfv_data (const xcb_glx_get_histogram_parameterfv_reply_t *R);
  7071. int
  7072. xcb_glx_get_histogram_parameterfv_data_length (const xcb_glx_get_histogram_parameterfv_reply_t *R);
  7073. xcb_generic_iterator_t
  7074. xcb_glx_get_histogram_parameterfv_data_end (const xcb_glx_get_histogram_parameterfv_reply_t *R);
  7075. /**
  7076. * Return the reply
  7077. * @param c The connection
  7078. * @param cookie The cookie
  7079. * @param e The xcb_generic_error_t supplied
  7080. *
  7081. * Returns the reply of the request asked by
  7082. *
  7083. * The parameter @p e supplied to this function must be NULL if
  7084. * xcb_glx_get_histogram_parameterfv_unchecked(). is used.
  7085. * Otherwise, it stores the error if any.
  7086. *
  7087. * The returned value must be freed by the caller using free().
  7088. */
  7089. xcb_glx_get_histogram_parameterfv_reply_t *
  7090. xcb_glx_get_histogram_parameterfv_reply (xcb_connection_t *c,
  7091. xcb_glx_get_histogram_parameterfv_cookie_t cookie /**< */,
  7092. xcb_generic_error_t **e);
  7093. int
  7094. xcb_glx_get_histogram_parameteriv_sizeof (const void *_buffer);
  7095. /**
  7096. *
  7097. * @param c The connection
  7098. * @return A cookie
  7099. *
  7100. * Delivers a request to the X server.
  7101. *
  7102. */
  7103. xcb_glx_get_histogram_parameteriv_cookie_t
  7104. xcb_glx_get_histogram_parameteriv (xcb_connection_t *c,
  7105. xcb_glx_context_tag_t context_tag,
  7106. uint32_t target,
  7107. uint32_t pname);
  7108. /**
  7109. *
  7110. * @param c The connection
  7111. * @return A cookie
  7112. *
  7113. * Delivers a request to the X server.
  7114. *
  7115. * This form can be used only if the request will cause
  7116. * a reply to be generated. Any returned error will be
  7117. * placed in the event queue.
  7118. */
  7119. xcb_glx_get_histogram_parameteriv_cookie_t
  7120. xcb_glx_get_histogram_parameteriv_unchecked (xcb_connection_t *c,
  7121. xcb_glx_context_tag_t context_tag,
  7122. uint32_t target,
  7123. uint32_t pname);
  7124. int32_t *
  7125. xcb_glx_get_histogram_parameteriv_data (const xcb_glx_get_histogram_parameteriv_reply_t *R);
  7126. int
  7127. xcb_glx_get_histogram_parameteriv_data_length (const xcb_glx_get_histogram_parameteriv_reply_t *R);
  7128. xcb_generic_iterator_t
  7129. xcb_glx_get_histogram_parameteriv_data_end (const xcb_glx_get_histogram_parameteriv_reply_t *R);
  7130. /**
  7131. * Return the reply
  7132. * @param c The connection
  7133. * @param cookie The cookie
  7134. * @param e The xcb_generic_error_t supplied
  7135. *
  7136. * Returns the reply of the request asked by
  7137. *
  7138. * The parameter @p e supplied to this function must be NULL if
  7139. * xcb_glx_get_histogram_parameteriv_unchecked(). is used.
  7140. * Otherwise, it stores the error if any.
  7141. *
  7142. * The returned value must be freed by the caller using free().
  7143. */
  7144. xcb_glx_get_histogram_parameteriv_reply_t *
  7145. xcb_glx_get_histogram_parameteriv_reply (xcb_connection_t *c,
  7146. xcb_glx_get_histogram_parameteriv_cookie_t cookie /**< */,
  7147. xcb_generic_error_t **e);
  7148. int
  7149. xcb_glx_get_minmax_sizeof (const void *_buffer);
  7150. /**
  7151. *
  7152. * @param c The connection
  7153. * @return A cookie
  7154. *
  7155. * Delivers a request to the X server.
  7156. *
  7157. */
  7158. xcb_glx_get_minmax_cookie_t
  7159. xcb_glx_get_minmax (xcb_connection_t *c,
  7160. xcb_glx_context_tag_t context_tag,
  7161. uint32_t target,
  7162. uint32_t format,
  7163. uint32_t type,
  7164. uint8_t swap_bytes,
  7165. uint8_t reset);
  7166. /**
  7167. *
  7168. * @param c The connection
  7169. * @return A cookie
  7170. *
  7171. * Delivers a request to the X server.
  7172. *
  7173. * This form can be used only if the request will cause
  7174. * a reply to be generated. Any returned error will be
  7175. * placed in the event queue.
  7176. */
  7177. xcb_glx_get_minmax_cookie_t
  7178. xcb_glx_get_minmax_unchecked (xcb_connection_t *c,
  7179. xcb_glx_context_tag_t context_tag,
  7180. uint32_t target,
  7181. uint32_t format,
  7182. uint32_t type,
  7183. uint8_t swap_bytes,
  7184. uint8_t reset);
  7185. uint8_t *
  7186. xcb_glx_get_minmax_data (const xcb_glx_get_minmax_reply_t *R);
  7187. int
  7188. xcb_glx_get_minmax_data_length (const xcb_glx_get_minmax_reply_t *R);
  7189. xcb_generic_iterator_t
  7190. xcb_glx_get_minmax_data_end (const xcb_glx_get_minmax_reply_t *R);
  7191. /**
  7192. * Return the reply
  7193. * @param c The connection
  7194. * @param cookie The cookie
  7195. * @param e The xcb_generic_error_t supplied
  7196. *
  7197. * Returns the reply of the request asked by
  7198. *
  7199. * The parameter @p e supplied to this function must be NULL if
  7200. * xcb_glx_get_minmax_unchecked(). is used.
  7201. * Otherwise, it stores the error if any.
  7202. *
  7203. * The returned value must be freed by the caller using free().
  7204. */
  7205. xcb_glx_get_minmax_reply_t *
  7206. xcb_glx_get_minmax_reply (xcb_connection_t *c,
  7207. xcb_glx_get_minmax_cookie_t cookie /**< */,
  7208. xcb_generic_error_t **e);
  7209. int
  7210. xcb_glx_get_minmax_parameterfv_sizeof (const void *_buffer);
  7211. /**
  7212. *
  7213. * @param c The connection
  7214. * @return A cookie
  7215. *
  7216. * Delivers a request to the X server.
  7217. *
  7218. */
  7219. xcb_glx_get_minmax_parameterfv_cookie_t
  7220. xcb_glx_get_minmax_parameterfv (xcb_connection_t *c,
  7221. xcb_glx_context_tag_t context_tag,
  7222. uint32_t target,
  7223. uint32_t pname);
  7224. /**
  7225. *
  7226. * @param c The connection
  7227. * @return A cookie
  7228. *
  7229. * Delivers a request to the X server.
  7230. *
  7231. * This form can be used only if the request will cause
  7232. * a reply to be generated. Any returned error will be
  7233. * placed in the event queue.
  7234. */
  7235. xcb_glx_get_minmax_parameterfv_cookie_t
  7236. xcb_glx_get_minmax_parameterfv_unchecked (xcb_connection_t *c,
  7237. xcb_glx_context_tag_t context_tag,
  7238. uint32_t target,
  7239. uint32_t pname);
  7240. xcb_glx_float32_t *
  7241. xcb_glx_get_minmax_parameterfv_data (const xcb_glx_get_minmax_parameterfv_reply_t *R);
  7242. int
  7243. xcb_glx_get_minmax_parameterfv_data_length (const xcb_glx_get_minmax_parameterfv_reply_t *R);
  7244. xcb_generic_iterator_t
  7245. xcb_glx_get_minmax_parameterfv_data_end (const xcb_glx_get_minmax_parameterfv_reply_t *R);
  7246. /**
  7247. * Return the reply
  7248. * @param c The connection
  7249. * @param cookie The cookie
  7250. * @param e The xcb_generic_error_t supplied
  7251. *
  7252. * Returns the reply of the request asked by
  7253. *
  7254. * The parameter @p e supplied to this function must be NULL if
  7255. * xcb_glx_get_minmax_parameterfv_unchecked(). is used.
  7256. * Otherwise, it stores the error if any.
  7257. *
  7258. * The returned value must be freed by the caller using free().
  7259. */
  7260. xcb_glx_get_minmax_parameterfv_reply_t *
  7261. xcb_glx_get_minmax_parameterfv_reply (xcb_connection_t *c,
  7262. xcb_glx_get_minmax_parameterfv_cookie_t cookie /**< */,
  7263. xcb_generic_error_t **e);
  7264. int
  7265. xcb_glx_get_minmax_parameteriv_sizeof (const void *_buffer);
  7266. /**
  7267. *
  7268. * @param c The connection
  7269. * @return A cookie
  7270. *
  7271. * Delivers a request to the X server.
  7272. *
  7273. */
  7274. xcb_glx_get_minmax_parameteriv_cookie_t
  7275. xcb_glx_get_minmax_parameteriv (xcb_connection_t *c,
  7276. xcb_glx_context_tag_t context_tag,
  7277. uint32_t target,
  7278. uint32_t pname);
  7279. /**
  7280. *
  7281. * @param c The connection
  7282. * @return A cookie
  7283. *
  7284. * Delivers a request to the X server.
  7285. *
  7286. * This form can be used only if the request will cause
  7287. * a reply to be generated. Any returned error will be
  7288. * placed in the event queue.
  7289. */
  7290. xcb_glx_get_minmax_parameteriv_cookie_t
  7291. xcb_glx_get_minmax_parameteriv_unchecked (xcb_connection_t *c,
  7292. xcb_glx_context_tag_t context_tag,
  7293. uint32_t target,
  7294. uint32_t pname);
  7295. int32_t *
  7296. xcb_glx_get_minmax_parameteriv_data (const xcb_glx_get_minmax_parameteriv_reply_t *R);
  7297. int
  7298. xcb_glx_get_minmax_parameteriv_data_length (const xcb_glx_get_minmax_parameteriv_reply_t *R);
  7299. xcb_generic_iterator_t
  7300. xcb_glx_get_minmax_parameteriv_data_end (const xcb_glx_get_minmax_parameteriv_reply_t *R);
  7301. /**
  7302. * Return the reply
  7303. * @param c The connection
  7304. * @param cookie The cookie
  7305. * @param e The xcb_generic_error_t supplied
  7306. *
  7307. * Returns the reply of the request asked by
  7308. *
  7309. * The parameter @p e supplied to this function must be NULL if
  7310. * xcb_glx_get_minmax_parameteriv_unchecked(). is used.
  7311. * Otherwise, it stores the error if any.
  7312. *
  7313. * The returned value must be freed by the caller using free().
  7314. */
  7315. xcb_glx_get_minmax_parameteriv_reply_t *
  7316. xcb_glx_get_minmax_parameteriv_reply (xcb_connection_t *c,
  7317. xcb_glx_get_minmax_parameteriv_cookie_t cookie /**< */,
  7318. xcb_generic_error_t **e);
  7319. int
  7320. xcb_glx_get_compressed_tex_image_arb_sizeof (const void *_buffer);
  7321. /**
  7322. *
  7323. * @param c The connection
  7324. * @return A cookie
  7325. *
  7326. * Delivers a request to the X server.
  7327. *
  7328. */
  7329. xcb_glx_get_compressed_tex_image_arb_cookie_t
  7330. xcb_glx_get_compressed_tex_image_arb (xcb_connection_t *c,
  7331. xcb_glx_context_tag_t context_tag,
  7332. uint32_t target,
  7333. int32_t level);
  7334. /**
  7335. *
  7336. * @param c The connection
  7337. * @return A cookie
  7338. *
  7339. * Delivers a request to the X server.
  7340. *
  7341. * This form can be used only if the request will cause
  7342. * a reply to be generated. Any returned error will be
  7343. * placed in the event queue.
  7344. */
  7345. xcb_glx_get_compressed_tex_image_arb_cookie_t
  7346. xcb_glx_get_compressed_tex_image_arb_unchecked (xcb_connection_t *c,
  7347. xcb_glx_context_tag_t context_tag,
  7348. uint32_t target,
  7349. int32_t level);
  7350. uint8_t *
  7351. xcb_glx_get_compressed_tex_image_arb_data (const xcb_glx_get_compressed_tex_image_arb_reply_t *R);
  7352. int
  7353. xcb_glx_get_compressed_tex_image_arb_data_length (const xcb_glx_get_compressed_tex_image_arb_reply_t *R);
  7354. xcb_generic_iterator_t
  7355. xcb_glx_get_compressed_tex_image_arb_data_end (const xcb_glx_get_compressed_tex_image_arb_reply_t *R);
  7356. /**
  7357. * Return the reply
  7358. * @param c The connection
  7359. * @param cookie The cookie
  7360. * @param e The xcb_generic_error_t supplied
  7361. *
  7362. * Returns the reply of the request asked by
  7363. *
  7364. * The parameter @p e supplied to this function must be NULL if
  7365. * xcb_glx_get_compressed_tex_image_arb_unchecked(). is used.
  7366. * Otherwise, it stores the error if any.
  7367. *
  7368. * The returned value must be freed by the caller using free().
  7369. */
  7370. xcb_glx_get_compressed_tex_image_arb_reply_t *
  7371. xcb_glx_get_compressed_tex_image_arb_reply (xcb_connection_t *c,
  7372. xcb_glx_get_compressed_tex_image_arb_cookie_t cookie /**< */,
  7373. xcb_generic_error_t **e);
  7374. int
  7375. xcb_glx_delete_queries_arb_sizeof (const void *_buffer);
  7376. /**
  7377. *
  7378. * @param c The connection
  7379. * @return A cookie
  7380. *
  7381. * Delivers a request to the X server.
  7382. *
  7383. * This form can be used only if the request will not cause
  7384. * a reply to be generated. Any returned error will be
  7385. * saved for handling by xcb_request_check().
  7386. */
  7387. xcb_void_cookie_t
  7388. xcb_glx_delete_queries_arb_checked (xcb_connection_t *c,
  7389. xcb_glx_context_tag_t context_tag,
  7390. int32_t n,
  7391. const uint32_t *ids);
  7392. /**
  7393. *
  7394. * @param c The connection
  7395. * @return A cookie
  7396. *
  7397. * Delivers a request to the X server.
  7398. *
  7399. */
  7400. xcb_void_cookie_t
  7401. xcb_glx_delete_queries_arb (xcb_connection_t *c,
  7402. xcb_glx_context_tag_t context_tag,
  7403. int32_t n,
  7404. const uint32_t *ids);
  7405. uint32_t *
  7406. xcb_glx_delete_queries_arb_ids (const xcb_glx_delete_queries_arb_request_t *R);
  7407. int
  7408. xcb_glx_delete_queries_arb_ids_length (const xcb_glx_delete_queries_arb_request_t *R);
  7409. xcb_generic_iterator_t
  7410. xcb_glx_delete_queries_arb_ids_end (const xcb_glx_delete_queries_arb_request_t *R);
  7411. int
  7412. xcb_glx_gen_queries_arb_sizeof (const void *_buffer);
  7413. /**
  7414. *
  7415. * @param c The connection
  7416. * @return A cookie
  7417. *
  7418. * Delivers a request to the X server.
  7419. *
  7420. */
  7421. xcb_glx_gen_queries_arb_cookie_t
  7422. xcb_glx_gen_queries_arb (xcb_connection_t *c,
  7423. xcb_glx_context_tag_t context_tag,
  7424. int32_t n);
  7425. /**
  7426. *
  7427. * @param c The connection
  7428. * @return A cookie
  7429. *
  7430. * Delivers a request to the X server.
  7431. *
  7432. * This form can be used only if the request will cause
  7433. * a reply to be generated. Any returned error will be
  7434. * placed in the event queue.
  7435. */
  7436. xcb_glx_gen_queries_arb_cookie_t
  7437. xcb_glx_gen_queries_arb_unchecked (xcb_connection_t *c,
  7438. xcb_glx_context_tag_t context_tag,
  7439. int32_t n);
  7440. uint32_t *
  7441. xcb_glx_gen_queries_arb_data (const xcb_glx_gen_queries_arb_reply_t *R);
  7442. int
  7443. xcb_glx_gen_queries_arb_data_length (const xcb_glx_gen_queries_arb_reply_t *R);
  7444. xcb_generic_iterator_t
  7445. xcb_glx_gen_queries_arb_data_end (const xcb_glx_gen_queries_arb_reply_t *R);
  7446. /**
  7447. * Return the reply
  7448. * @param c The connection
  7449. * @param cookie The cookie
  7450. * @param e The xcb_generic_error_t supplied
  7451. *
  7452. * Returns the reply of the request asked by
  7453. *
  7454. * The parameter @p e supplied to this function must be NULL if
  7455. * xcb_glx_gen_queries_arb_unchecked(). is used.
  7456. * Otherwise, it stores the error if any.
  7457. *
  7458. * The returned value must be freed by the caller using free().
  7459. */
  7460. xcb_glx_gen_queries_arb_reply_t *
  7461. xcb_glx_gen_queries_arb_reply (xcb_connection_t *c,
  7462. xcb_glx_gen_queries_arb_cookie_t cookie /**< */,
  7463. xcb_generic_error_t **e);
  7464. /**
  7465. *
  7466. * @param c The connection
  7467. * @return A cookie
  7468. *
  7469. * Delivers a request to the X server.
  7470. *
  7471. */
  7472. xcb_glx_is_query_arb_cookie_t
  7473. xcb_glx_is_query_arb (xcb_connection_t *c,
  7474. xcb_glx_context_tag_t context_tag,
  7475. uint32_t id);
  7476. /**
  7477. *
  7478. * @param c The connection
  7479. * @return A cookie
  7480. *
  7481. * Delivers a request to the X server.
  7482. *
  7483. * This form can be used only if the request will cause
  7484. * a reply to be generated. Any returned error will be
  7485. * placed in the event queue.
  7486. */
  7487. xcb_glx_is_query_arb_cookie_t
  7488. xcb_glx_is_query_arb_unchecked (xcb_connection_t *c,
  7489. xcb_glx_context_tag_t context_tag,
  7490. uint32_t id);
  7491. /**
  7492. * Return the reply
  7493. * @param c The connection
  7494. * @param cookie The cookie
  7495. * @param e The xcb_generic_error_t supplied
  7496. *
  7497. * Returns the reply of the request asked by
  7498. *
  7499. * The parameter @p e supplied to this function must be NULL if
  7500. * xcb_glx_is_query_arb_unchecked(). is used.
  7501. * Otherwise, it stores the error if any.
  7502. *
  7503. * The returned value must be freed by the caller using free().
  7504. */
  7505. xcb_glx_is_query_arb_reply_t *
  7506. xcb_glx_is_query_arb_reply (xcb_connection_t *c,
  7507. xcb_glx_is_query_arb_cookie_t cookie /**< */,
  7508. xcb_generic_error_t **e);
  7509. int
  7510. xcb_glx_get_queryiv_arb_sizeof (const void *_buffer);
  7511. /**
  7512. *
  7513. * @param c The connection
  7514. * @return A cookie
  7515. *
  7516. * Delivers a request to the X server.
  7517. *
  7518. */
  7519. xcb_glx_get_queryiv_arb_cookie_t
  7520. xcb_glx_get_queryiv_arb (xcb_connection_t *c,
  7521. xcb_glx_context_tag_t context_tag,
  7522. uint32_t target,
  7523. uint32_t pname);
  7524. /**
  7525. *
  7526. * @param c The connection
  7527. * @return A cookie
  7528. *
  7529. * Delivers a request to the X server.
  7530. *
  7531. * This form can be used only if the request will cause
  7532. * a reply to be generated. Any returned error will be
  7533. * placed in the event queue.
  7534. */
  7535. xcb_glx_get_queryiv_arb_cookie_t
  7536. xcb_glx_get_queryiv_arb_unchecked (xcb_connection_t *c,
  7537. xcb_glx_context_tag_t context_tag,
  7538. uint32_t target,
  7539. uint32_t pname);
  7540. int32_t *
  7541. xcb_glx_get_queryiv_arb_data (const xcb_glx_get_queryiv_arb_reply_t *R);
  7542. int
  7543. xcb_glx_get_queryiv_arb_data_length (const xcb_glx_get_queryiv_arb_reply_t *R);
  7544. xcb_generic_iterator_t
  7545. xcb_glx_get_queryiv_arb_data_end (const xcb_glx_get_queryiv_arb_reply_t *R);
  7546. /**
  7547. * Return the reply
  7548. * @param c The connection
  7549. * @param cookie The cookie
  7550. * @param e The xcb_generic_error_t supplied
  7551. *
  7552. * Returns the reply of the request asked by
  7553. *
  7554. * The parameter @p e supplied to this function must be NULL if
  7555. * xcb_glx_get_queryiv_arb_unchecked(). is used.
  7556. * Otherwise, it stores the error if any.
  7557. *
  7558. * The returned value must be freed by the caller using free().
  7559. */
  7560. xcb_glx_get_queryiv_arb_reply_t *
  7561. xcb_glx_get_queryiv_arb_reply (xcb_connection_t *c,
  7562. xcb_glx_get_queryiv_arb_cookie_t cookie /**< */,
  7563. xcb_generic_error_t **e);
  7564. int
  7565. xcb_glx_get_query_objectiv_arb_sizeof (const void *_buffer);
  7566. /**
  7567. *
  7568. * @param c The connection
  7569. * @return A cookie
  7570. *
  7571. * Delivers a request to the X server.
  7572. *
  7573. */
  7574. xcb_glx_get_query_objectiv_arb_cookie_t
  7575. xcb_glx_get_query_objectiv_arb (xcb_connection_t *c,
  7576. xcb_glx_context_tag_t context_tag,
  7577. uint32_t id,
  7578. uint32_t pname);
  7579. /**
  7580. *
  7581. * @param c The connection
  7582. * @return A cookie
  7583. *
  7584. * Delivers a request to the X server.
  7585. *
  7586. * This form can be used only if the request will cause
  7587. * a reply to be generated. Any returned error will be
  7588. * placed in the event queue.
  7589. */
  7590. xcb_glx_get_query_objectiv_arb_cookie_t
  7591. xcb_glx_get_query_objectiv_arb_unchecked (xcb_connection_t *c,
  7592. xcb_glx_context_tag_t context_tag,
  7593. uint32_t id,
  7594. uint32_t pname);
  7595. int32_t *
  7596. xcb_glx_get_query_objectiv_arb_data (const xcb_glx_get_query_objectiv_arb_reply_t *R);
  7597. int
  7598. xcb_glx_get_query_objectiv_arb_data_length (const xcb_glx_get_query_objectiv_arb_reply_t *R);
  7599. xcb_generic_iterator_t
  7600. xcb_glx_get_query_objectiv_arb_data_end (const xcb_glx_get_query_objectiv_arb_reply_t *R);
  7601. /**
  7602. * Return the reply
  7603. * @param c The connection
  7604. * @param cookie The cookie
  7605. * @param e The xcb_generic_error_t supplied
  7606. *
  7607. * Returns the reply of the request asked by
  7608. *
  7609. * The parameter @p e supplied to this function must be NULL if
  7610. * xcb_glx_get_query_objectiv_arb_unchecked(). is used.
  7611. * Otherwise, it stores the error if any.
  7612. *
  7613. * The returned value must be freed by the caller using free().
  7614. */
  7615. xcb_glx_get_query_objectiv_arb_reply_t *
  7616. xcb_glx_get_query_objectiv_arb_reply (xcb_connection_t *c,
  7617. xcb_glx_get_query_objectiv_arb_cookie_t cookie /**< */,
  7618. xcb_generic_error_t **e);
  7619. int
  7620. xcb_glx_get_query_objectuiv_arb_sizeof (const void *_buffer);
  7621. /**
  7622. *
  7623. * @param c The connection
  7624. * @return A cookie
  7625. *
  7626. * Delivers a request to the X server.
  7627. *
  7628. */
  7629. xcb_glx_get_query_objectuiv_arb_cookie_t
  7630. xcb_glx_get_query_objectuiv_arb (xcb_connection_t *c,
  7631. xcb_glx_context_tag_t context_tag,
  7632. uint32_t id,
  7633. uint32_t pname);
  7634. /**
  7635. *
  7636. * @param c The connection
  7637. * @return A cookie
  7638. *
  7639. * Delivers a request to the X server.
  7640. *
  7641. * This form can be used only if the request will cause
  7642. * a reply to be generated. Any returned error will be
  7643. * placed in the event queue.
  7644. */
  7645. xcb_glx_get_query_objectuiv_arb_cookie_t
  7646. xcb_glx_get_query_objectuiv_arb_unchecked (xcb_connection_t *c,
  7647. xcb_glx_context_tag_t context_tag,
  7648. uint32_t id,
  7649. uint32_t pname);
  7650. uint32_t *
  7651. xcb_glx_get_query_objectuiv_arb_data (const xcb_glx_get_query_objectuiv_arb_reply_t *R);
  7652. int
  7653. xcb_glx_get_query_objectuiv_arb_data_length (const xcb_glx_get_query_objectuiv_arb_reply_t *R);
  7654. xcb_generic_iterator_t
  7655. xcb_glx_get_query_objectuiv_arb_data_end (const xcb_glx_get_query_objectuiv_arb_reply_t *R);
  7656. /**
  7657. * Return the reply
  7658. * @param c The connection
  7659. * @param cookie The cookie
  7660. * @param e The xcb_generic_error_t supplied
  7661. *
  7662. * Returns the reply of the request asked by
  7663. *
  7664. * The parameter @p e supplied to this function must be NULL if
  7665. * xcb_glx_get_query_objectuiv_arb_unchecked(). is used.
  7666. * Otherwise, it stores the error if any.
  7667. *
  7668. * The returned value must be freed by the caller using free().
  7669. */
  7670. xcb_glx_get_query_objectuiv_arb_reply_t *
  7671. xcb_glx_get_query_objectuiv_arb_reply (xcb_connection_t *c,
  7672. xcb_glx_get_query_objectuiv_arb_cookie_t cookie /**< */,
  7673. xcb_generic_error_t **e);
  7674. #ifdef __cplusplus
  7675. }
  7676. #endif
  7677. #endif
  7678. /**
  7679. * @}
  7680. */