added support for:
authorEleni Maria Stea <elene.mst@gmail.com>
Fri, 8 Mar 2013 16:05:12 +0000 (18:05 +0200)
committerEleni Maria Stea <elene.mst@gmail.com>
Fri, 8 Mar 2013 16:05:12 +0000 (18:05 +0200)
commitd07382b1c19d46072ea1a16efb94bab5f78d1acb
tree4fbf766df20e9261aeb7b4988afd19fbc7e4d9f4
parentbc9552c53559894780c08207048d2f8b9ee5d76e
added support for:
glProgramivARB:
GL_MAX_PROGRAM_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_TEMPORARIES_ARB
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
GL_MAX_PROGRAM_PARAMETERS_ARB
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
GL_MAX_PROGRAM_ATTRIBS_ARB
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB

the problem: the glProgramiv uses dynamic loading so my gliar.conf won't
fake anything! BUT! I can override the dlsym so that my functions are
loaded :) and when i need to call the function dlsym myself I ll just call
the internal function that dlsym calls (I have to check which function is
this in glibc :)
src/gliar.c
tests/glinfo/Makefile
tests/glinfo/glinfo.c