Is there an easy way to check whether an Android device supports ETC2 and ASTC? By the way, I don't want to create an OpenGL context to get the extensions, that’s because I need to know the support features to request the right texture resources from the remote server.
Asked
Active
Viewed 878 times
0
-
Why don't you want to create a context? It's the correct way to do this ... – solidpixel Aug 08 '19 at 07:01
-
If you can live with the false-negatives you could check for the Android Extension Pack (guarantees ASTC) `boolean deviceSupportsAEP = getPackageManager().hasSystemFeature(PackageManager.FEATURE_OPENGLES_EXTENSION_PACK);` – Columbo Aug 09 '19 at 14:32