I would like to be able to able to store mesh data of an arbitrary opengl application as it runs. I found out about function interposition, and tried it for various opengl functions, just printing a message and then calling the real function.
It worked for several, including glGenTextures, glVertexPointer, glutSwapBuffers, however I cant get my replacements for glBufferData or glGenBuffers to run.
I would like to know if there is anything special about these functions, or if there is some other way to retrieve mesh data in running applications, such as that stored in vertex buffer objects
Thanks
Ethan