title: How to get total memory in bytes used by OpenGL in C++?
body: <p>How to get total memory in bytes used by OpenGL in C++? </p>
  
  <p>I'm building an OpenGL application and the total memory used seems to be rising, I can get the info about the total memory used by variables &amp; objects created by myself but can't guarantee how much memory OpenGL is using for its variables &amp; objects &amp; textures, etc. So is it possible to get <strong>the total memory in bytes used by OpenGL in C++?</strong></p>