[Piglit] [PATCH v2 08/13] piglit-dispatch: Add generated files.
Jose Fonseca
jfonseca at vmware.com
Tue Mar 13 14:02:35 PDT 2012
----- Original Message -----
> Today I am trying to get a Windows machine running so I can figure
> out what's necessary to make piglit-dispatch work on Windows. After
> I've finished that, I'll try to solve the CMake dependency problems
> I was having, and let y'all know what I discover.
Windows is easy in general: just call wglGetProcAddress(procName). The only thing to watch out is:
- don't call wglGetProcAddress for the standard entrypoints (Opengl 1.1, 1.2, 1.3 + multi_textures) -- just call GetProcAddress(LoadLibraryA("OPENGL32"), procName) if you need to call programatically.
- make sure you have a bound context when calling wglGetProcAddress()
- make sure all prototypes have APIENTRY
MacOSX is also easy, just call dlsym(RTLD_DEFAULT, procName).
Any issue send me an email.
Jose
More information about the Piglit
mailing list