home github linkedin projects garden

Nathan Lapp

GLTrace/GLHooker

github link

Active development


The concept and technology of function hooking has always interested me, and iv’e always wanted to create a OpenGL debugger like RenderDoc or Nvidia Nsight. I also choose to do it in Rust in a bid to learn it better.

This library directly integrates the ability to trace OpenGL calls directly into the program, so launching it through an external one isn’t necessary. Additionally it can spit out the trace to a file with additional statistics and metrics.

It does this by originally hooking into a OpenGL function retrieval function by overwriting the actual code of it so when the user requests a OpenGL function, the hook is effectively returned instead.


I have lots of ideas concerning this project, and if time permits I would love to implement them all.

Such as:


website source

contact