1 Mar 2005 01:55
Re: GLES packaging issues
Brian Paul <brian.paul <at> tungstengraphics.com>
2005-03-01 00:55:58 GMT
2005-03-01 00:55:58 GMT
Adam Jackson wrote: > On Monday 28 February 2005 15:26, Brian Paul wrote: > >>Adam Jackson wrote: >> >>>The packaging issues from the GLES spec need to be addressed if we're to >>>move forward with EGL compatibility. The spec requires egl.h to be >>>available as <GLES/egl.h>, and that the library itself be linkable as >>>libGLES_nn.z, where nn is either CM or CL for the common or common-lite >>>profiles and .z is the platform's DSO suffix (.so for us). >>> >>>These requirements strike me as gratuitous change. I'm tempted to just >>>add magic symlinks to the install targets (ie, GLES/ to GL/ and libGL.so >>>to libGLextranoise.so). This of course fails on win32. >> >>Feel free to create an include/GLES directory and add the egl.h >>header. As for the symlink, perhaps an (ugly) work-around would be to >>create a GLES/gl.h file that just #includes ../GL/gl.h > > > AFAICT gl.h doesn't need to exist under GLES/. eglinfo just does #include > <GLES/egl.h>, and the spec doesn't say anything about the location of gl.h > that I can find. There is a gl.h for OpenGL ES: http://www.khronos.org/opengles/spec_headers/opengles1_1/gl.h It's basically a subset of the regular gl.h. I presume it would live in the GLES/ directory.(Continue reading)
RSS Feed