[Piglit] [PATCH v2 08/13] piglit-dispatch: Add generated files.

Paul Berry stereotype441 at gmail.com
Tue Mar 13 17:37:12 PDT 2012


On 13 March 2012 14:02, Jose Fonseca <jfonseca at vmware.com> wrote:

> ----- 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
>

Thanks, Jose.  That's exactly the sort of information I needed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120313/2b746281/attachment.htm>


More information about the Piglit mailing list