On 03/12/2013 20:14, Adam Jackson wrote: > This fixes up the indirect glx code to only call-by-name those symbols > present in the Linux OpenGL ABI, which corresponds to OpenGL 1.2.1. > Since that was available even on OSX 10.0 this should be sufficient for > xquartz as well.
Thanks very much for doing this. > Merely proven correct, not tested. The xwin code assuredly needs > something similar. I don't entirely understand the scary-looking comment > in there about stdcall The native GL library (opengl32.dll) entry points use the stdcall calling convention. I think I'll just need to wire up GetProcAddress to return the address of the generated cdecl-to-stdcall conversion thunk, rather than directly to wglGetProcAddress. > and I'm quite sure the existing code is broken > for multiple indirect contexts since wglGetProcAddress results are > context-sensitive unlike GLX. Yes, we probably assume that wglGetProcAddress results are more general than they are. Practically, they seem to be the same provided the context is on the same display device. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
