Posts

Showing posts with the label opengles

Check OpenGL ES capability on Android

There are lots of Android devices around the world. And when you want to create one application that need OpenGL ES, you would think (what I thought) if the user's device can run smoothly by checking the OpenGL ES version because this is important. So how to check the OpenGL ES version? By using SystemService. This is the simplest one. You don't need to create any OpenGL ES component. final ActivityManager activityManager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); final ConfigurationInfo configurationInfo = activityManager.getDeviceConfigurationInfo(); final boolean supportsEs2 = configurationInfo.reqGlEsVersion >= 0x30000; By using glGetService . By doing this, you can get more information, like the vendor, chip, shading version, etc. But, you need to have GL context first. String glVersion = GLES20.glGetString(GLES20.GL_VERSION); String glRenderer = GLES20.glGetString(GLES20.GL_RENDERER); String glVendor = GLES20.glGetString(GLES20.GL_VENDOR); String g...

Android, OpenGL ES 3.0, GPU

Previously, I've posted OpenCL GPU supported . You can see that mobile GPU is going to be more powerful and more efficient. When investigating the OpenGL related information, I found that OpenGL ES 3.0 is started to be supported by many GPU vendors.  Also, Android 4.3 is released with OpenGL ES 3.0 . Before you are going to creating OpenGL ES 3.0 app, first, you have to know which mobile GPUs that support OpenGL ES 3.0. Below is the list that I found, also with the chip: Imageon Adreno 300 series Qualcomm:  Snapdragon 600 ,  Snapdragon 800 Samsung Galaxy S4 ,  Sony Xperia Z Ultra, HTC New One Mali T-600 series Samsung: Exynos 5 Samsung Galaxy S4 Rockchip:  RK32xx PowerVR Series 6 (Rogue) MTK: MT8135 Apple A5, A5X, A6, A6X Samsung Exynos 5 Octa - SGX544MP3 Tegra 4 ( WhitePaper PDF ) NOT fully support. HP Slatebook x2 Please let me know if you know more. Thanks for watching :) To check OpenGL ES version on your device, click here .