Re: direct_state_access
Max Mustermann <[email protected]> Fri, 31 May 2013 11:22:25 +0200
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <CAF2ikYAz0v3obrnBYEURKGiHbykagbVcCiWYN6Qr9B3EQq_Wvw@mail.gmail.com> |
--===============5098823285441218945== Content-Type: multipart/alternative; boundary=047d7bd74af632ea2e04de002728 --047d7bd74af632ea2e04de002728 Content-Type: text/plain; charset=ISO-8859-1 2013/5/30 Mike C. Fletcher <[email protected]> > On 13-05-28 03:45 PM, Max Mustermann wrote: > > Hi there, > > I'm new to PyOpenGL. It seems as if there are some functions related > > to direct_state_access's vertex arrays missing, for example > > glVertexArrayVertexAttribOffsetEXT. Or did I miss something? > The entry points don't exist in the official/canonical glext.h file. > The glhpp library maintains a header with the declarations, so I've > added that header to the PyOpenGL generation process. That should > produce the entry points that glhpp has identified as missing (including > this one). Current bzr head has the modification and the generated > wrappers with the entry points, if you would like to test it. > > HTH, > Mike > Great, thank you. The functions are available now. Sadly I've no working use case yet, I could check them working. The code in the repository somehow contains the functions in http://bazaar.launchpad.net/~mcfletch/pyopengl/trunk/view/head:/OpenGL/raw/GL/NV/draw_texture.py (last change rev. 574) instead of http://bazaar.launchpad.net/~mcfletch/pyopengl/trunk/view/head:/OpenGL/raw/GL/EXT/direct_state_access.py (last change rev. 572). But my local rebuild placed them correctly in direct_state_access.py. There are still some more unavailable functions in the extension that were introduced as aliases due to some of OpenGL 3.0's new naming conventions ("Indexed" -> "i"): {'glEnableClientStateiEXT', 'glGetDoublei_vEXT', 'glGetPointeri_vEXT', 'glGetFloati_vEXT', 'glDisableClientStateiEXT'} (those definitely and at least those, as only checked for those in the specs after comparison to the file resulting from my butterfly-effect hack replacing glext.h with glew.h). Regards, thank you --047d7bd74af632ea2e04de002728 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">2013/5/30 Mike C. Fletcher <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]= </a>></span><br><div class=3D"gmail_extra"><div class=3D"gmail_quote"><b= lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= ft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pad= ding-left:1ex"> <div class=3D"im">On 13-05-28 03:45 PM, Max Mustermann wrote:<br> > Hi there,<br> > I'm new to PyOpenGL. It seems as if there are some functions relat= ed<br> > to direct_state_access's vertex arrays missing, for example<br> > glVertexArrayVertexAttribOffsetEXT. Or did I miss something?<br> </div>The entry points don't exist in the official/canonical glext.h fi= le.<br> The glhpp library maintains a header with the declarations, so I've<br> added that header to the PyOpenGL generation process. =A0That should<br> produce the entry points that glhpp has identified as missing (including<br= > this one). =A0Current bzr head has the modification and the generated<br> wrappers with the entry points, if you would like to test it.<br> <br> HTH,<br> Mike<br></blockquote><div><br></div><div style>Great, thank you. The functi= ons are available now. Sadly I've no working use case yet, I could chec= k them working.</div><div style><br></div><div style>The code in the reposi= tory somehow contains the functions in=A0<a href=3D"http://bazaar.launchpad= .net/~mcfletch/pyopengl/trunk/view/head:/OpenGL/raw/GL/NV/draw_texture.py">= http://bazaar.launchpad.net/~mcfletch/pyopengl/trunk/view/head:/OpenGL/raw/= GL/NV/draw_texture.py</a>=A0(last change rev. 574)=A0instead of=A0<a href= =3D"http://bazaar.launchpad.net/~mcfletch/pyopengl/trunk/view/head:/OpenGL/= raw/GL/EXT/direct_state_access.py">http://bazaar.launchpad.net/~mcfletch/py= opengl/trunk/view/head:/OpenGL/raw/GL/EXT/direct_state_access.py</a>=A0(las= t change rev. 572). But my local rebuild placed them correctly in direct_st= ate_access.py.</div> <div style><br></div><div style>There are still some more unavailable funct= ions in the extension that were introduced as aliases due to some of OpenGL= 3.0's new naming conventions ("Indexed" -> "i")= :=A0{'glEnableClientStateiEXT', 'glGetDoublei_vEXT', 'g= lGetPointeri_vEXT', 'glGetFloati_vEXT', 'glDisableClientSta= teiEXT'} (those definitely and at least those, as only checked for thos= e in the specs after comparison to the file resulting from my butterfly-eff= ect hack replacing glext.h with glew.h).</div> <div style><br></div><div style>Regards, thank you</div></div></div></div> --047d7bd74af632ea2e04de002728-- --===============5098823285441218945== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 --===============5098823285441218945== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-devel --===============5098823285441218945==--