]> git.cworth.org Git - glaze/log
glaze
10 years agoRename glaze.c to glaze-gl.c
Carl Worth [Mon, 12 Aug 2013 19:22:00 +0000 (12:22 -0700)]
Rename glaze.c to glaze-gl.c

I'm planning to add a new glaze library with a "glaze.h" header file,
so it will be natural to have its implementation in glaze.c. To
prepare for that, I'm renaming the OpenGL API implementation from
glaze.c to glaze-gl.c.

10 years agoAdd a README file
Carl Worth [Mon, 29 Jul 2013 22:04:21 +0000 (15:04 -0700)]
Add a README file

Documenting how to set LD_LIBRARY_PATH, GLAZE_WRAPPER, and GLAZE_LIBGL
for invoking Glaze. Also giving credit to Alexander Monakov for
teaching me how to ue ifuncs.

10 years agoAdd GLAZE_WRAPPER variable to specify library with OpenGL wrapper functions
Carl Worth [Mon, 29 Jul 2013 21:25:55 +0000 (14:25 -0700)]
Add GLAZE_WRAPPER variable to specify library with OpenGL wrapper functions

The GLAZE_WRAPPER environment variable should point to a library which
has symbols for some subset of the OpenGL API. For all such symbols,
Glaze will resolve its ifunc symbols to the wrapper functions. For all
functions not having symbols in the GLAZE_WRAPPER library, Glaze will
resolve its ifunc symbols to the functions in the GLAZE_LIBGL library.

10 years agoAdd GLX functions as well.
Carl Worth [Thu, 25 Jul 2013 03:16:36 +0000 (20:16 -0700)]
Add GLX functions as well.

The glx.xml file was downloaded from:

https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/glx.xml

And should be current as of OpenGL 4.4.

10 years agoExtend OpenGL API list to all functions in Khronos gl.xml
Carl Worth [Thu, 25 Jul 2013 00:33:18 +0000 (17:33 -0700)]
Extend OpenGL API list to all functions in Khronos gl.xml

Here we add the gl.xml file downloaded from:

https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml

Along with a script and Makefile to convert it to the list form
expected by glaze.c.

Note: The Makefile to perform the conversion is not called by
default. Instead, the result of the conversion (gl.def) is committed
directly to the source repository. This makes it convenient, (the
general user does not need to install xmlstarlet, for example), while
a developer that does need to update gl.xml can simply invoke "make
clean; make" in the specs directory to rebuild gl.def.

10 years agoInitial commit of glaze, a thin, shiny wrapper for OpenGL
Carl Worth [Wed, 24 Jul 2013 23:48:02 +0000 (16:48 -0700)]
Initial commit of glaze, a thin, shiny wrapper for OpenGL

The basic mechanic is in place here to create a pass-through ifunc for
every function in a list of functions.

The current list is the tiniest stub so far, (nothing but glClear).

And there is not yet any mechanism to do selective substitution of any
OpenGL functions, (so glaze cannot actually be used for anything yet).