title: How can I get GPU usage / total on Android
body: <p>Android version &gt;= 8.0</p>
  <p>I am creating an Android app based on Open GL ES 3.0</p>
  <p>I want to get gpu info like memory/usage on Android in java</p>
  <p>I have try</p>
  <pre class="lang-c prettyprint-override"><code>bool m1 = GLEW_NVX_gpu_memory_info; // 0
  bool m2 = glewIsSupported(&quot;GL_NVX_gpu_memory_info&quot;); // 0
  bool m3 = glewGetExtension(&quot;GL_NVX_gpu_memory_info&quot;); // 0
  
  GLint info = 0;
  
  glGetIntegerv(GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX, @info);
  
  GLenum err = glGetError();
  if (GLEW_OK != err)
  {
      // error
  }
  </code></pre>
  <p>but only for Nvidia</p>