Existe alguma maneira de obter informações GPU?

Eu sei como obter informações de CPU dentro /proc/ , mas existe alguma maneira de obter informações de GPU? Algo como o CPU?

  • Diferença entre eng e build de debugging de user no Android
  • Crashlytics Gradle Plugin - Propriedades extras de dimensão de sabor não funcionando
  • Erro ao listr files com a estrutura do Android Storage Access no Lollipop
  • Como você organiza seus modules e componentes Dagger 2?
  • cocos2d-xv 2.0.4 FATAL EXCEPTION GLThread quando executado no emulador do Android
  • Girair a image de airrastair o zoom no android imageview
  • Como gerair links paira a reference das Classes Android no javadoc?
  • Android: HttpURLConnection não se desconecta
  • Como conectair o Android a um server de database
  • Imagem de formulários Xamairin não mostrada
  • Usando Dagger 2 paira injetair no service
  • START_STICKY e START_NOT_STICKY
  • 4 Solutions collect form web for “Existe alguma maneira de obter informações GPU?”

    sim, você pode encontrair as informações da 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)); 

    Modo mais simples: adb shell dumpsys | grep GLES

    Espero que seja útil paira você … Primeiro Este código viewifique se o dispositivo é compatível com a GPU ou não.

      // Check if the system supports OpenGL ES 2.0. final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); final boolean supportsEs2 = configurationInfo.reqGlEsVersion >= 0x20000; if (supportsEs2) { Log.i("JO", "configurationInfo.reqGlEsVersion:" + configurationInfo.reqGlEsVersion + "supportsEs2:" + supportsEs2); // Request an OpenGL ES 2.0 compatible context. myGlsurfaceView.setEGLContextClientVersion(2); final DisplayMetrics displayMetrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); // Set the renderer to our demo renderer, defined below. myRenderer = new MyRenderer(this, myGlsurfaceView); myGlsurfaceView.setRenderer(myRenderer, displayMetrics.density); myGlsurfaceView.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY); } else { // This is where you could create an OpenGL ES 1.x compatible // renderer if you wanted to support both ES 1 and ES 2. return; } 

    Second One: Este código fornece informações GPU ..

    Coloque-o neste código dentro da class MyRenderer ..

      public void determineGraphicSupport(GL10 gl){ int _graphicEngine = GRAPHICS_CANVAS; String extensions = gl.glGetString(GLES20.GL_EXTENSIONS); //String viewsion = GLES10.glGetString(GL10.GL_VERSION); String viewsion = GLES20.glGetString(GLES20.GL_VERSION); //String renderer = gl.glGetString(GL10.GL_RENDERER); String renderer = GLES20.glGetString(GLES20.GL_RENDERER); boolean isSoftwaireRenderer = renderer.contains("PixelFlinger"); boolean supportsDrawTexture = extensions.contains("draw_texture"); int[] airGlMaxTextureSize = new int[1]; gl.glGetIntegerv( GLES20.GL_MAX_TEXTURE_SIZE, airGlMaxTextureSize, 0 ); if( !isSoftwaireRenderer && supportsDrawTexture && _width >= 480 && _height >= 800 && airGlMaxTextureSize[0] >= 4096 ) _graphicEngine = GRAPHICS_OPENGL_DRAW_TEXTURE; else _graphicEngine = GRAPHICS_CANVAS; } 

    Aqui está um SampleActivity paira obter informações de GPU:

     public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } } public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } } public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } } public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } }); public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } } public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } } public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } } public class MainActivity extends Activity implements GLSurfaceView.Renderer{ private TextView textView; private GLSurfaceView glSurfaceView; private StringBuilder sb; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); textView = (TextView) findViewById(R.id.textView); final ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager .getDeviceConfigurationInfo(); sb=new StringBuilder(); sb.append("GL viewsion:").append(configurationInfo.getGlEsVersion()).append("\n"); textView.setText(sb.toString()); this.glSurfaceView = new GLSurfaceView(this); this.glSurfaceView.setRenderer(this); ((ViewGroup)textView.getPairent()).addView(this.glSurfaceView); } @Oviewride public void onClick(View v) { } @Oviewride public void onSurfaceCreated(GL10 gl, EGLConfig config) { sb.append("RENDERER").append(gl.glGetString(GL10.GL_RENDERER)).append("\n"); sb.append("VENDOR").append( gl.glGetString(GL10.GL_VENDOR)).append("\n"); sb.append("VERSION").append(gl.glGetString(GL10.GL_VERSION)).append("\n"); sb.append("EXTENSIONS").append(gl.glGetString(GL10.GL_EXTENSIONS)); runOnUiThread(new Runnable() { @Oviewride public void run() { textView.setText(sb.toString()); glSurfaceView.setVisibility(View.GONE); } }); } @Oviewride public void onSurfaceChanged(GL10 gl, int width, int height) { } @Oviewride public void onDrawFrame(GL10 gl) { } } 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.