Rotary Heart Rotary Heart - 6 months ago 140
Android Question

Is there any way to get GPU information?

I know how to get CPU info inside

/proc/
, but is there any way to get GPU info? Something like the CPU one?

Answer

yes, you can find thi information from OpenGl:

    Log.d("GL", "GL_RENDERER = " + gl.glGetString(GL10.GL_RENDERER));
    Log.d("GL", "GL_VENDOR = " + gl.glGetString(GL10.GL_VENDOR));
    Log.d("GL", "GL_VERSION = " + gl.glGetString(GL10.GL_VERSION));
    Log.i("GL", "GL_EXTENSIONS = " + gl.glGetString(GL10.GL_EXTENSIONS));