String renderer = gl.glGetString(GL10.GL_RENDERER);if renderer returns null, I can assume that no GPU is present. correct?
Hi, elio.Yes, it's posable, by means of OpenGL interface. :) Use glGetString() with GL_VENDOR to determinate GPU vendor name and GL_RENDERER to determinate GPU name. Just do it as soon as gl context is made as current.Also there is a hidden method, you may see it in GLSurfaceView source ( https://github.com/android/platform_frameworks_base/blob/master/opengl/java/android/opengl/GLSurfaceView.java#L1803 )
понедельник, 2 июля 2012 г., 14:53:51 UTC+7 пользователь elio написал:
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/te7cFiR3NxAJ.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.