Custom null GL pipeline?

Hi Ken,

I’m looking for a convenient way to disable all OpenGL
ops without having to bracket all GL methods. I’m wondering
if implementing a custom GL object, like DebugGL/TraceGL,
that simply does nothing and returns, will be considered
abuse and has pitfalls…? Will this work when there’s no
active context?

Please advise… Thanks!

.rex

Actually this seems like a reasonable approach. Note however that if you actually set this null GL object in your GLContext you may run into issues; for example, the GLJPanel expects a working GL instance internally. Please post if you run into problems.