Profiling struct generator

Yet another generator for gl_generator, very similar to DebugStructGenerator, but with these changes/additions:

Using the profiler

The generated gl module gains 3 additional methods:

Example usage:

```rust gl::profiler_reset();

// the code

println!("Number of GL calls: {}", gl::profilercallcount()); println!("Number of GL errors: {}", gl::profilererrcount()); ```

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.